You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by to...@apache.org on 2006/08/21 22:09:25 UTC
svn commit: r433339 [3/3] - in /incubator/cayenne/sandbox/CocoaCayenne: ./
CAYClient.xcodeproj/ English.lproj/ English.lproj/MainMenu.nib/
English.lproj/MainMenu~.nib/ Japanese.lproj/ Japanese.lproj/MainMenu.nib/
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYClient.xcodeproj/project.pbxproj
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYClient.xcodeproj/project.pbxproj?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYClient.xcodeproj/project.pbxproj (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYClient.xcodeproj/project.pbxproj Mon Aug 21 13:09:22 2006
@@ -0,0 +1,419 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 42;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 4417DB440A8D2FB5000FE4DB /* HessianObjC.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4417DB430A8D2FB5000FE4DB /* HessianObjC.framework */; };
+ 4417DB9D0A8D34B8000FE4DB /* AppController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4417DB9C0A8D34B8000FE4DB /* AppController.m */; };
+ 4417DBF70A8D427E000FE4DB /* CAYBootstrapMessage.m in Sources */ = {isa = PBXBuildFile; fileRef = 4417DBF60A8D427E000FE4DB /* CAYBootstrapMessage.m */; };
+ 4417DC2E0A8D45D1000FE4DB /* CAYQueryMessage.m in Sources */ = {isa = PBXBuildFile; fileRef = 4417DC2D0A8D45D1000FE4DB /* CAYQueryMessage.m */; };
+ 4417DC8C0A8D488A000FE4DB /* CAYNamedQuery.m in Sources */ = {isa = PBXBuildFile; fileRef = 4417DC8B0A8D488A000FE4DB /* CAYNamedQuery.m */; };
+ 4417DD760A8D52BC000FE4DB /* CAYGenericResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 4417DD750A8D52BC000FE4DB /* CAYGenericResponse.m */; };
+ 4417DD950A8D54E3000FE4DB /* CAYRemoteSession.m in Sources */ = {isa = PBXBuildFile; fileRef = 4417DD940A8D54E3000FE4DB /* CAYRemoteSession.m */; };
+ 4417DE0C0A8D5901000FE4DB /* CAYObjectId.m in Sources */ = {isa = PBXBuildFile; fileRef = 4417DE0B0A8D5901000FE4DB /* CAYObjectId.m */; };
+ 4417DFEB0A8FA3ED000FE4DB /* CAYHessianConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = 4417DFEA0A8FA3ED000FE4DB /* CAYHessianConnection.m */; };
+ 4417E0630A8FCAA3000FE4DB /* CAYQuery.m in Sources */ = {isa = PBXBuildFile; fileRef = 4417E0620A8FCAA3000FE4DB /* CAYQuery.m */; };
+ 4417E0660A8FCABD000FE4DB /* CAYClientConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = 4417E0650A8FCABD000FE4DB /* CAYClientConnection.m */; };
+ 4417E07E0A8FCB5A000FE4DB /* CAYClientMessage.m in Sources */ = {isa = PBXBuildFile; fileRef = 4417E07D0A8FCB5A000FE4DB /* CAYClientMessage.m */; };
+ 4417E1E50A8FD520000FE4DB /* CAYRelationshipQuery.m in Sources */ = {isa = PBXBuildFile; fileRef = 4417E1E40A8FD520000FE4DB /* CAYRelationshipQuery.m */; };
+ 4439684A0A9099AD005BD842 /* CAYObjectContext.m in Sources */ = {isa = PBXBuildFile; fileRef = 443968470A9099AD005BD842 /* CAYObjectContext.m */; };
+ 4439684B0A9099AD005BD842 /* CAYPersistentObject.m in Sources */ = {isa = PBXBuildFile; fileRef = 443968490A9099AD005BD842 /* CAYPersistentObject.m */; };
+ 443968F80A90A0A2005BD842 /* Artist.m in Sources */ = {isa = PBXBuildFile; fileRef = 443968F70A90A0A2005BD842 /* Artist.m */; };
+ 443968FB0A90A0C2005BD842 /* Painting.m in Sources */ = {isa = PBXBuildFile; fileRef = 443968FA0A90A0C2005BD842 /* Painting.m */; };
+ 443968FE0A90A0D0005BD842 /* Gallery.m in Sources */ = {isa = PBXBuildFile; fileRef = 443968FD0A90A0D0005BD842 /* Gallery.m */; };
+ 44A6F8E10A965F1F00E04AE1 /* CAYObjEntity.m in Sources */ = {isa = PBXBuildFile; fileRef = 44A6F8E00A965F1F00E04AE1 /* CAYObjEntity.m */; };
+ 44A6F8FA0A98EB5800E04AE1 /* CAYClientObjRelationship.m in Sources */ = {isa = PBXBuildFile; fileRef = 44A6F8F90A98EB5800E04AE1 /* CAYClientObjRelationship.m */; };
+ 44FC06CA0A911A3200704DDC /* CAYEntityResolver.m in Sources */ = {isa = PBXBuildFile; fileRef = 44FC06C90A911A3200704DDC /* CAYEntityResolver.m */; };
+ 8D11072A0486CEB800E47090 /* MainMenu.nib in Resources */ = {isa = PBXBuildFile; fileRef = 29B97318FDCFA39411CA2CEA /* MainMenu.nib */; };
+ 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; };
+ 8D11072D0486CEB800E47090 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; settings = {ATTRIBUTES = (); }; };
+ 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXFileReference section */
+ 089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
+ 13E42FB307B3F0F600E4EEF1 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; sourceTree = "<absolute>"; };
+ 29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+ 29B97319FDCFA39411CA2CEA /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/MainMenu.nib; sourceTree = "<group>"; };
+ 29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; };
+ 29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
+ 32CA4F630368D1EE00C91783 /* CAYClient_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CAYClient_Prefix.pch; sourceTree = "<group>"; };
+ 4417DB430A8D2FB5000FE4DB /* HessianObjC.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = HessianObjC.framework; path = ../../Library/Frameworks/HessianObjC.framework; sourceTree = SOURCE_ROOT; };
+ 4417DB9B0A8D34B8000FE4DB /* AppController.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = AppController.h; sourceTree = "<group>"; };
+ 4417DB9C0A8D34B8000FE4DB /* AppController.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = AppController.m; sourceTree = "<group>"; };
+ 4417DBF50A8D427E000FE4DB /* CAYBootstrapMessage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CAYBootstrapMessage.h; sourceTree = "<group>"; };
+ 4417DBF60A8D427E000FE4DB /* CAYBootstrapMessage.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CAYBootstrapMessage.m; sourceTree = "<group>"; };
+ 4417DC2C0A8D45D1000FE4DB /* CAYQueryMessage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CAYQueryMessage.h; sourceTree = "<group>"; };
+ 4417DC2D0A8D45D1000FE4DB /* CAYQueryMessage.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CAYQueryMessage.m; sourceTree = "<group>"; };
+ 4417DC8A0A8D488A000FE4DB /* CAYNamedQuery.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CAYNamedQuery.h; sourceTree = "<group>"; };
+ 4417DC8B0A8D488A000FE4DB /* CAYNamedQuery.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CAYNamedQuery.m; sourceTree = "<group>"; };
+ 4417DD740A8D52BC000FE4DB /* CAYGenericResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CAYGenericResponse.h; sourceTree = "<group>"; };
+ 4417DD750A8D52BC000FE4DB /* CAYGenericResponse.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CAYGenericResponse.m; sourceTree = "<group>"; };
+ 4417DD930A8D54E3000FE4DB /* CAYRemoteSession.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CAYRemoteSession.h; sourceTree = "<group>"; };
+ 4417DD940A8D54E3000FE4DB /* CAYRemoteSession.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CAYRemoteSession.m; sourceTree = "<group>"; };
+ 4417DE0A0A8D5900000FE4DB /* CAYObjectId.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CAYObjectId.h; sourceTree = "<group>"; };
+ 4417DE0B0A8D5901000FE4DB /* CAYObjectId.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CAYObjectId.m; sourceTree = "<group>"; wrapsLines = 1; };
+ 4417DFE90A8FA3ED000FE4DB /* CAYHessianConnection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CAYHessianConnection.h; sourceTree = "<group>"; };
+ 4417DFEA0A8FA3ED000FE4DB /* CAYHessianConnection.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CAYHessianConnection.m; sourceTree = "<group>"; };
+ 4417E0610A8FCAA3000FE4DB /* CAYQuery.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CAYQuery.h; sourceTree = "<group>"; };
+ 4417E0620A8FCAA3000FE4DB /* CAYQuery.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CAYQuery.m; sourceTree = "<group>"; };
+ 4417E0640A8FCABD000FE4DB /* CAYClientConnection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CAYClientConnection.h; sourceTree = "<group>"; };
+ 4417E0650A8FCABD000FE4DB /* CAYClientConnection.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CAYClientConnection.m; sourceTree = "<group>"; };
+ 4417E07C0A8FCB5A000FE4DB /* CAYClientMessage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CAYClientMessage.h; sourceTree = "<group>"; };
+ 4417E07D0A8FCB5A000FE4DB /* CAYClientMessage.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CAYClientMessage.m; sourceTree = "<group>"; };
+ 4417E1E30A8FD520000FE4DB /* CAYRelationshipQuery.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CAYRelationshipQuery.h; sourceTree = "<group>"; };
+ 4417E1E40A8FD520000FE4DB /* CAYRelationshipQuery.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CAYRelationshipQuery.m; sourceTree = "<group>"; };
+ 443968460A9099AD005BD842 /* CAYObjectContext.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = CAYObjectContext.h; sourceTree = "<group>"; };
+ 443968470A9099AD005BD842 /* CAYObjectContext.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = CAYObjectContext.m; sourceTree = "<group>"; };
+ 443968480A9099AD005BD842 /* CAYPersistentObject.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = CAYPersistentObject.h; sourceTree = "<group>"; };
+ 443968490A9099AD005BD842 /* CAYPersistentObject.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = CAYPersistentObject.m; sourceTree = "<group>"; };
+ 443968F60A90A0A2005BD842 /* Artist.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Artist.h; sourceTree = "<group>"; };
+ 443968F70A90A0A2005BD842 /* Artist.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Artist.m; sourceTree = "<group>"; };
+ 443968F90A90A0C2005BD842 /* Painting.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Painting.h; sourceTree = "<group>"; };
+ 443968FA0A90A0C2005BD842 /* Painting.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Painting.m; sourceTree = "<group>"; };
+ 443968FC0A90A0D0005BD842 /* Gallery.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Gallery.h; sourceTree = "<group>"; };
+ 443968FD0A90A0D0005BD842 /* Gallery.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Gallery.m; sourceTree = "<group>"; };
+ 44A6F8DF0A965F1F00E04AE1 /* CAYObjEntity.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CAYObjEntity.h; sourceTree = "<group>"; };
+ 44A6F8E00A965F1F00E04AE1 /* CAYObjEntity.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CAYObjEntity.m; sourceTree = "<group>"; };
+ 44A6F8F80A98EB5800E04AE1 /* CAYClientObjRelationship.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CAYClientObjRelationship.h; sourceTree = "<group>"; };
+ 44A6F8F90A98EB5800E04AE1 /* CAYClientObjRelationship.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CAYClientObjRelationship.m; sourceTree = "<group>"; };
+ 44FC06C80A911A3200704DDC /* CAYEntityResolver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CAYEntityResolver.h; sourceTree = "<group>"; };
+ 44FC06C90A911A3200704DDC /* CAYEntityResolver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CAYEntityResolver.m; sourceTree = "<group>"; };
+ 8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
+ 8D1107320486CEB800E47090 /* CAYClient.app */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = wrapper.application; path = CAYClient.app; sourceTree = BUILT_PRODUCTS_DIR; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 8D11072E0486CEB800E47090 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */,
+ 4417DB440A8D2FB5000FE4DB /* HessianObjC.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 080E96DDFE201D6D7F000001 /* Classes */ = {
+ isa = PBXGroup;
+ children = (
+ 443968F50A90A08B005BD842 /* tutorial */,
+ 443968F40A90A07F005BD842 /* cayenne */,
+ );
+ name = Classes;
+ sourceTree = "<group>";
+ };
+ 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */,
+ );
+ name = "Linked Frameworks";
+ sourceTree = "<group>";
+ };
+ 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ 29B97324FDCFA39411CA2CEA /* AppKit.framework */,
+ 13E42FB307B3F0F600E4EEF1 /* CoreData.framework */,
+ 29B97325FDCFA39411CA2CEA /* Foundation.framework */,
+ );
+ name = "Other Frameworks";
+ sourceTree = "<group>";
+ };
+ 19C28FACFE9D520D11CA2CBB /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 8D1107320486CEB800E47090 /* CAYClient.app */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ 29B97314FDCFA39411CA2CEA /* CAYClient */ = {
+ isa = PBXGroup;
+ children = (
+ 080E96DDFE201D6D7F000001 /* Classes */,
+ 29B97315FDCFA39411CA2CEA /* Other Sources */,
+ 29B97317FDCFA39411CA2CEA /* Resources */,
+ 29B97323FDCFA39411CA2CEA /* Frameworks */,
+ 19C28FACFE9D520D11CA2CBB /* Products */,
+ );
+ name = CAYClient;
+ sourceTree = "<group>";
+ };
+ 29B97315FDCFA39411CA2CEA /* Other Sources */ = {
+ isa = PBXGroup;
+ children = (
+ 32CA4F630368D1EE00C91783 /* CAYClient_Prefix.pch */,
+ 29B97316FDCFA39411CA2CEA /* main.m */,
+ 4417DB9B0A8D34B8000FE4DB /* AppController.h */,
+ 4417DB9C0A8D34B8000FE4DB /* AppController.m */,
+ );
+ name = "Other Sources";
+ sourceTree = "<group>";
+ };
+ 29B97317FDCFA39411CA2CEA /* Resources */ = {
+ isa = PBXGroup;
+ children = (
+ 8D1107310486CEB800E47090 /* Info.plist */,
+ 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */,
+ 29B97318FDCFA39411CA2CEA /* MainMenu.nib */,
+ );
+ name = Resources;
+ sourceTree = "<group>";
+ };
+ 29B97323FDCFA39411CA2CEA /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ 4417DB430A8D2FB5000FE4DB /* HessianObjC.framework */,
+ 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */,
+ 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+ 443968F40A90A07F005BD842 /* cayenne */ = {
+ isa = PBXGroup;
+ children = (
+ 443968460A9099AD005BD842 /* CAYObjectContext.h */,
+ 443968470A9099AD005BD842 /* CAYObjectContext.m */,
+ 443968480A9099AD005BD842 /* CAYPersistentObject.h */,
+ 443968490A9099AD005BD842 /* CAYPersistentObject.m */,
+ 4417DBF50A8D427E000FE4DB /* CAYBootstrapMessage.h */,
+ 4417DBF60A8D427E000FE4DB /* CAYBootstrapMessage.m */,
+ 4417DC2C0A8D45D1000FE4DB /* CAYQueryMessage.h */,
+ 4417DC2D0A8D45D1000FE4DB /* CAYQueryMessage.m */,
+ 4417DC8A0A8D488A000FE4DB /* CAYNamedQuery.h */,
+ 4417DC8B0A8D488A000FE4DB /* CAYNamedQuery.m */,
+ 4417DD740A8D52BC000FE4DB /* CAYGenericResponse.h */,
+ 4417DD750A8D52BC000FE4DB /* CAYGenericResponse.m */,
+ 4417DD930A8D54E3000FE4DB /* CAYRemoteSession.h */,
+ 4417DD940A8D54E3000FE4DB /* CAYRemoteSession.m */,
+ 4417DE0A0A8D5900000FE4DB /* CAYObjectId.h */,
+ 4417DE0B0A8D5901000FE4DB /* CAYObjectId.m */,
+ 4417DFE90A8FA3ED000FE4DB /* CAYHessianConnection.h */,
+ 4417DFEA0A8FA3ED000FE4DB /* CAYHessianConnection.m */,
+ 4417E0610A8FCAA3000FE4DB /* CAYQuery.h */,
+ 4417E0620A8FCAA3000FE4DB /* CAYQuery.m */,
+ 4417E0640A8FCABD000FE4DB /* CAYClientConnection.h */,
+ 4417E0650A8FCABD000FE4DB /* CAYClientConnection.m */,
+ 4417E07C0A8FCB5A000FE4DB /* CAYClientMessage.h */,
+ 4417E07D0A8FCB5A000FE4DB /* CAYClientMessage.m */,
+ 4417E1E30A8FD520000FE4DB /* CAYRelationshipQuery.h */,
+ 4417E1E40A8FD520000FE4DB /* CAYRelationshipQuery.m */,
+ 44FC06C80A911A3200704DDC /* CAYEntityResolver.h */,
+ 44FC06C90A911A3200704DDC /* CAYEntityResolver.m */,
+ 44A6F8DF0A965F1F00E04AE1 /* CAYObjEntity.h */,
+ 44A6F8E00A965F1F00E04AE1 /* CAYObjEntity.m */,
+ 44A6F8F80A98EB5800E04AE1 /* CAYClientObjRelationship.h */,
+ 44A6F8F90A98EB5800E04AE1 /* CAYClientObjRelationship.m */,
+ );
+ name = cayenne;
+ sourceTree = "<group>";
+ };
+ 443968F50A90A08B005BD842 /* tutorial */ = {
+ isa = PBXGroup;
+ children = (
+ 443968F60A90A0A2005BD842 /* Artist.h */,
+ 443968F70A90A0A2005BD842 /* Artist.m */,
+ 443968F90A90A0C2005BD842 /* Painting.h */,
+ 443968FA0A90A0C2005BD842 /* Painting.m */,
+ 443968FC0A90A0D0005BD842 /* Gallery.h */,
+ 443968FD0A90A0D0005BD842 /* Gallery.m */,
+ );
+ name = tutorial;
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 8D1107260486CEB800E47090 /* CAYClient */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "CAYClient" */;
+ buildPhases = (
+ 8D1107290486CEB800E47090 /* Resources */,
+ 8D11072C0486CEB800E47090 /* Sources */,
+ 8D11072E0486CEB800E47090 /* Frameworks */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = CAYClient;
+ productInstallPath = "$(HOME)/Applications";
+ productName = CAYClient;
+ productReference = 8D1107320486CEB800E47090 /* CAYClient.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 29B97313FDCFA39411CA2CEA /* Project object */ = {
+ isa = PBXProject;
+ buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "CAYClient" */;
+ hasScannedForEncodings = 1;
+ mainGroup = 29B97314FDCFA39411CA2CEA /* CAYClient */;
+ projectDirPath = "";
+ targets = (
+ 8D1107260486CEB800E47090 /* CAYClient */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 8D1107290486CEB800E47090 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 8D11072A0486CEB800E47090 /* MainMenu.nib in Resources */,
+ 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 8D11072C0486CEB800E47090 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 8D11072D0486CEB800E47090 /* main.m in Sources */,
+ 4417DB9D0A8D34B8000FE4DB /* AppController.m in Sources */,
+ 4417DBF70A8D427E000FE4DB /* CAYBootstrapMessage.m in Sources */,
+ 4417DC2E0A8D45D1000FE4DB /* CAYQueryMessage.m in Sources */,
+ 4417DC8C0A8D488A000FE4DB /* CAYNamedQuery.m in Sources */,
+ 4417DD760A8D52BC000FE4DB /* CAYGenericResponse.m in Sources */,
+ 4417DD950A8D54E3000FE4DB /* CAYRemoteSession.m in Sources */,
+ 4417DE0C0A8D5901000FE4DB /* CAYObjectId.m in Sources */,
+ 4417DFEB0A8FA3ED000FE4DB /* CAYHessianConnection.m in Sources */,
+ 4417E0630A8FCAA3000FE4DB /* CAYQuery.m in Sources */,
+ 4417E0660A8FCABD000FE4DB /* CAYClientConnection.m in Sources */,
+ 4417E07E0A8FCB5A000FE4DB /* CAYClientMessage.m in Sources */,
+ 4417E1E50A8FD520000FE4DB /* CAYRelationshipQuery.m in Sources */,
+ 4439684A0A9099AD005BD842 /* CAYObjectContext.m in Sources */,
+ 4439684B0A9099AD005BD842 /* CAYPersistentObject.m in Sources */,
+ 443968F80A90A0A2005BD842 /* Artist.m in Sources */,
+ 443968FB0A90A0C2005BD842 /* Painting.m in Sources */,
+ 443968FE0A90A0D0005BD842 /* Gallery.m in Sources */,
+ 44FC06CA0A911A3200704DDC /* CAYEntityResolver.m in Sources */,
+ 44A6F8E10A965F1F00E04AE1 /* CAYObjEntity.m in Sources */,
+ 44A6F8FA0A98EB5800E04AE1 /* CAYClientObjRelationship.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXVariantGroup section */
+ 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 089C165DFE840E0CC02AAC07 /* English */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "<group>";
+ };
+ 29B97318FDCFA39411CA2CEA /* MainMenu.nib */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 29B97319FDCFA39411CA2CEA /* English */,
+ );
+ name = MainMenu.nib;
+ sourceTree = "<group>";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ C01FCF4B08A954540054247B /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = NO;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(FRAMEWORK_SEARCH_PATHS_QUOTED_1)",
+ );
+ FRAMEWORK_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/../../Library/Frameworks\"";
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_ENABLE_FIX_AND_CONTINUE = YES;
+ GCC_MODEL_TUNING = G5;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ INFOPLIST_FILE = Info.plist;
+ INSTALL_PATH = "$(HOME)/Applications";
+ PRODUCT_NAME = CAYClient;
+ WRAPPER_EXTENSION = app;
+ ZERO_LINK = YES;
+ };
+ name = Debug;
+ };
+ C01FCF4C08A954540054247B /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ARCHS = (
+ ppc,
+ i386,
+ );
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(FRAMEWORK_SEARCH_PATHS_QUOTED_1)",
+ );
+ FRAMEWORK_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/../../Library/Frameworks\"";
+ GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
+ GCC_MODEL_TUNING = G5;
+ INFOPLIST_FILE = Info.plist;
+ INSTALL_PATH = "$(HOME)/Applications";
+ PRODUCT_NAME = CAYClient;
+ WRAPPER_EXTENSION = app;
+ };
+ name = Release;
+ };
+ C01FCF4F08A954540054247B /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ PREBINDING = NO;
+ SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
+ };
+ name = Debug;
+ };
+ C01FCF5008A954540054247B /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ PREBINDING = NO;
+ SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "CAYClient" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ C01FCF4B08A954540054247B /* Debug */,
+ C01FCF4C08A954540054247B /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ C01FCF4E08A954540054247B /* Build configuration list for PBXProject "CAYClient" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ C01FCF4F08A954540054247B /* Debug */,
+ C01FCF5008A954540054247B /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 29B97313FDCFA39411CA2CEA /* Project object */;
+}
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYClientConnection.h
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYClientConnection.h?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYClientConnection.h (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYClientConnection.h Mon Aug 21 13:09:22 2006
@@ -0,0 +1,18 @@
+//
+// CAYClientConnection.h
+// CAYClient
+//
+// Created by Tore Halset on 8/13/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+#import "CAYClientMessage.h"
+
+@interface CAYClientConnection : NSObject {
+
+}
+
+- (id) sendMessage:(CAYClientMessage *)message;
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYClientConnection.m
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYClientConnection.m?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYClientConnection.m (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYClientConnection.m Mon Aug 21 13:09:22 2006
@@ -0,0 +1,20 @@
+//
+// CAYClientConnection.m
+// CAYClient
+//
+// Created by Tore Halset on 8/13/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import "CAYClientConnection.h"
+
+
+@implementation CAYClientConnection
+
+- (id) sendMessage:(CAYClientMessage *)message
+{
+ NSLog(@"CAYClientConnection does not implement sendMessage");
+ return nil;
+}
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYClientMessage.h
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYClientMessage.h?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYClientMessage.h (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYClientMessage.h Mon Aug 21 13:09:22 2006
@@ -0,0 +1,16 @@
+//
+// CAYClientMessage.h
+// CAYClient
+//
+// Created by Tore Halset on 8/13/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+
+
+@interface CAYClientMessage : NSObject {
+
+}
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYClientMessage.m
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYClientMessage.m?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYClientMessage.m (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYClientMessage.m Mon Aug 21 13:09:22 2006
@@ -0,0 +1,14 @@
+//
+// CAYClientMessage.m
+// CAYClient
+//
+// Created by Tore Halset on 8/13/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import "CAYClientMessage.h"
+
+
+@implementation CAYClientMessage
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYClientObjRelationship.h
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYClientObjRelationship.h?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYClientObjRelationship.h (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYClientObjRelationship.h Mon Aug 21 13:09:22 2006
@@ -0,0 +1,26 @@
+//
+// CAYClientObjRelationship.h
+// CAYClient
+//
+// Created by Tore Halset on 8/20/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+
+
+@interface CAYClientObjRelationship : NSObject <NSCoding> {
+
+ BOOL toMany;
+ NSString *name;
+ NSString *targetEntityName;
+
+}
+
+-(void)setName:(NSString *)n;
+-(NSString *)name;
+-(void)setTargetEntityName:(NSString *)n;
+-(NSString *)targetEntityName;
+
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYClientObjRelationship.m
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYClientObjRelationship.m?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYClientObjRelationship.m (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYClientObjRelationship.m Mon Aug 21 13:09:22 2006
@@ -0,0 +1,64 @@
+//
+// CAYClientObjRelationship.m
+// CAYClient
+//
+// Created by Tore Halset on 8/20/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import "CAYClientObjRelationship.h"
+
+
+@implementation CAYClientObjRelationship
+
+-(id)initWithCoder:(NSCoder*)coder
+{
+ [super init];
+ // TODO: correct with clientToMany instead of toMany?
+ toMany = [coder decodeBoolForKey:@"clientToMany"];
+ [self setName:[coder decodeObjectForKey:@"name"]];
+ [self setTargetEntityName:[coder decodeObjectForKey:@"targetEntityName"]];
+ return self;
+}
+
+-(void)encodeWithCoder:(NSCoder*)coder
+{
+ // TODO: correct with clientToMany
+ [coder encodeBool:toMany forKey:@"clientToMany"];
+ [coder encodeObject:name forKey:@"name"];
+ [coder encodeObject:targetEntityName forKey:@"targetEntityName"];
+}
+
+-(void)setName:(NSString *)n
+{
+ [n retain];
+ [name release];
+ name = n;
+}
+
+-(NSString *)name
+{
+ return name;
+}
+
+-(void)setTargetEntityName:(NSString *)n
+{
+ [n retain];
+ [targetEntityName release];
+ targetEntityName = n;
+}
+
+-(NSString *)targetEntityName
+{
+ return targetEntityName;
+}
+
+-(void)dealloc
+{
+ [name release];
+ [targetEntityName release];
+ [super dealloc];
+}
+
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYClient_Prefix.pch
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYClient_Prefix.pch?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYClient_Prefix.pch (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYClient_Prefix.pch Mon Aug 21 13:09:22 2006
@@ -0,0 +1,7 @@
+//
+// Prefix header for all source files of the 'CAYClient' target in the 'CAYClient' project
+//
+
+#ifdef __OBJC__
+ #import <Cocoa/Cocoa.h>
+#endif
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYEntityResolver.h
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYEntityResolver.h?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYEntityResolver.h (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYEntityResolver.h Mon Aug 21 13:09:22 2006
@@ -0,0 +1,24 @@
+//
+// CAYEntityResolver.h
+// CAYClient
+//
+// Created by Tore Halset on 8/14/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+
+
+@interface CAYEntityResolver : NSObject {
+ BOOL indexedByClass;
+
+ NSDictionary *queryCache;
+ NSDictionary *dbEntityCache;
+ NSDictionary *objEntityCache;
+ NSDictionary *procedureCache;
+ NSArray *maps;
+ NSDictionary *entityInheritanceCache;
+ CAYEntityResolver *clientEntityResolver;
+}
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYEntityResolver.m
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYEntityResolver.m?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYEntityResolver.m (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYEntityResolver.m Mon Aug 21 13:09:22 2006
@@ -0,0 +1,14 @@
+//
+// CAYEntityResolver.m
+// CAYClient
+//
+// Created by Tore Halset on 8/14/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import "CAYEntityResolver.h"
+
+
+@implementation CAYEntityResolver
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYGenericResponse.h
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYGenericResponse.h?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYGenericResponse.h (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYGenericResponse.h Mon Aug 21 13:09:22 2006
@@ -0,0 +1,19 @@
+//
+// GenericResponse.h
+// CAYClient
+//
+// Created by Tore Halset on 8/12/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+
+
+@interface CAYGenericResponse : NSObject <NSCoding> {
+ NSArray *results;
+}
+
+-(void)setResults:(NSArray *)r;
+-(NSArray *)results;
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYGenericResponse.m
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYGenericResponse.m?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYGenericResponse.m (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYGenericResponse.m Mon Aug 21 13:09:22 2006
@@ -0,0 +1,44 @@
+//
+// GenericResponse.m
+// CAYClient
+//
+// Created by Tore Halset on 8/12/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import "CAYGenericResponse.h"
+
+
+@implementation CAYGenericResponse
+
+-(id)initWithCoder:(NSCoder*)coder
+{
+ [super init];
+ [self setResults:[coder decodeObjectForKey:@"results"]];
+ return self;
+}
+
+-(void)encodeWithCoder:(NSCoder*)coder
+{
+ [coder encodeObject:results forKey:@"results"];
+}
+
+-(void)setResults:(NSArray *)r
+{
+ [r retain];
+ [results release];
+ results = r;
+}
+
+-(NSArray *)results
+{
+ return results;
+}
+
+-(void)dealloc
+{
+ [results release];
+ [super dealloc];
+}
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYHessianConnection.h
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYHessianConnection.h?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYHessianConnection.h (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYHessianConnection.h Mon Aug 21 13:09:22 2006
@@ -0,0 +1,20 @@
+//
+// CAYHessianConnection.h
+// CAYClient
+//
+// Created by Tore Halset on 8/13/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+#import "CAYClientConnection.h"
+#import <HessianObjC/BBSHessianObjC.h>
+
+@interface CAYHessianConnection : CAYClientConnection {
+ BBSHessianProxy *proxy;
+}
+
+-(void) setProxy:(BBSHessianProxy *)p;
+-(BBSHessianProxy *) proxy;
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYHessianConnection.m
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYHessianConnection.m?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYHessianConnection.m (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYHessianConnection.m Mon Aug 21 13:09:22 2006
@@ -0,0 +1,42 @@
+//
+// CAYHessianConnection.m
+// CAYClient
+//
+// Created by Tore Halset on 8/13/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import "CAYHessianConnection.h"
+#import "CAYClientMessage.h"
+
+@implementation CAYHessianConnection
+
+- (id) sendMessage:(CAYClientMessage *)message
+{
+ //[message retain];
+ NSArray * parameters = [NSArray arrayWithObject:message];
+ id result = [proxy callSynchronous:@"processMessage" withParameters:parameters];
+ //[message release];
+ return result;
+ //return [result autorelease];
+}
+
+-(void) setProxy:(BBSHessianProxy *)p
+{
+ [p retain];
+ [proxy release];
+ proxy = p;
+}
+
+-(BBSHessianProxy *) proxy
+{
+ return proxy;
+}
+
+-(void)dealloc
+{
+ [proxy release];
+ [super dealloc];
+}
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYNamedQuery.h
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYNamedQuery.h?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYNamedQuery.h (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYNamedQuery.h Mon Aug 21 13:09:22 2006
@@ -0,0 +1,23 @@
+//
+// NamedQuery.h
+// CAYClient
+//
+// Created by Tore Halset on 8/12/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+#import "CAYQuery.h"
+
+@interface CAYNamedQuery : CAYQuery <NSCoding> {
+ BOOL forceNoCache;
+ NSString *name;
+ NSDictionary *parameters;
+}
+
+-(void)setName:(NSString *)n;
+-(NSString *)name;
+-(void)setParameters:(NSDictionary *)p;
+-(NSDictionary *)parameters;
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYNamedQuery.m
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYNamedQuery.m?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYNamedQuery.m (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYNamedQuery.m Mon Aug 21 13:09:22 2006
@@ -0,0 +1,61 @@
+//
+// NamedQuery.m
+// CAYClient
+//
+// Created by Tore Halset on 8/12/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import "CAYNamedQuery.h"
+
+
+@implementation CAYNamedQuery
+
+-(id)initWithCoder:(NSCoder*)coder
+{
+ [super init];
+ forceNoCache = [coder decodeBoolForKey:@"forceNoCache"];
+ [self setName:[coder decodeObjectForKey:@"name"]];
+ [self setParameters:[coder decodeObjectForKey:@"parameters"]];
+ return self;
+}
+
+-(void)encodeWithCoder:(NSCoder*)coder
+{
+ [coder encodeBool:forceNoCache forKey:@"forceNoCache"];
+ [coder encodeObject:name forKey:@"name"];
+ [coder encodeObject:parameters forKey:@"parameters"];
+}
+
+-(void)setName:(NSString *)n
+{
+ [n retain];
+ [name release];
+ name = n;
+}
+
+-(NSString *)name
+{
+ return name;
+}
+
+-(void)setParameters:(NSDictionary *)p
+{
+ [p retain];
+ [parameters release];
+ parameters = p;
+}
+
+-(NSDictionary *)parameters
+{
+ return parameters;
+}
+
+-(void)dealloc
+{
+ [name release];
+ [parameters release];
+ [super dealloc];
+}
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYObjEntity.h
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYObjEntity.h?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYObjEntity.h (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYObjEntity.h Mon Aug 21 13:09:22 2006
@@ -0,0 +1,27 @@
+//
+// CAYObjEntity.h
+// CAYClient
+//
+// Created by Tore Halset on 8/18/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+
+
+@interface CAYObjEntity : NSObject <NSCoding> {
+
+ NSArray *attributes;
+ NSString *name;
+ NSDictionary *relationships;
+
+}
+
+-(void)setAttributes:(NSArray *)a;
+-(NSArray *)attributes;
+-(void)setName:(NSString *)n;
+-(NSString *)name;
+-(void)setRelationships:(NSDictionary *)r;
+-(NSDictionary *)relationships;
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYObjEntity.m
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYObjEntity.m?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYObjEntity.m (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYObjEntity.m Mon Aug 21 13:09:22 2006
@@ -0,0 +1,75 @@
+//
+// CAYObjEntity.m
+// CAYClient
+//
+// Created by Tore Halset on 8/18/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import "CAYObjEntity.h"
+
+
+@implementation CAYObjEntity
+
+-(id)initWithCoder:(NSCoder*)coder
+{
+ [super init];
+ [self setAttributes:[coder decodeObjectForKey:@"attributes"]];
+ [self setName:[coder decodeObjectForKey:@"name"]];
+ [self setRelationships:[coder decodeObjectForKey:@"relationships"]];
+ return self;
+}
+
+-(void)encodeWithCoder:(NSCoder*)coder
+{
+ [coder encodeObject:attributes forKey:@"attributes"];
+ [coder encodeObject:name forKey:@"name"];
+ [coder encodeObject:relationships forKey:@"relationships"];
+}
+
+-(void)setAttributes:(NSArray *)a
+{
+ [a retain];
+ [attributes release];
+ attributes = a;
+}
+
+-(NSArray *)attributes
+{
+ return attributes;
+}
+
+-(void)setName:(NSString *)n
+{
+ [n retain];
+ [name release];
+ name = n;
+}
+
+-(NSString *)name
+{
+ return name;
+}
+
+-(void)setRelationships:(NSDictionary *)r
+{
+ [r retain];
+ [relationships release];
+ relationships = r;
+}
+
+-(NSDictionary *)relationships
+{
+ return relationships;
+}
+
+-(void)dealloc
+{
+ [attributes release];
+ [name release];
+ [relationships release];
+ [super dealloc];
+}
+
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYObjectContext.h
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYObjectContext.h?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYObjectContext.h (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYObjectContext.h Mon Aug 21 13:09:22 2006
@@ -0,0 +1,24 @@
+//
+// CAYObjectContext.h
+// CAYClient
+//
+// Created by Tore Halset on 8/13/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+#import "CAYQuery.h"
+
+@class CAYPersistentObject, CAYClientConnection;
+
+@interface CAYObjectContext : NSObject {
+ CAYClientConnection *connection;
+}
+
+-(NSArray *)performQyery:(CAYQuery *)q;
+
+-(void)setConnection:(CAYClientConnection *)c;
+-(CAYClientConnection *)connection;
+-(void)prepareForAccessForObject:(CAYPersistentObject *)o andProperty:(NSString *)prop;
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYObjectContext.m
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYObjectContext.m?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYObjectContext.m (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYObjectContext.m Mon Aug 21 13:09:22 2006
@@ -0,0 +1,55 @@
+//
+// CAYObjectContext.m
+// CAYClient
+//
+// Created by Tore Halset on 8/13/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import "CAYObjectContext.h"
+#import "CAYQueryMessage.h"
+#import "CAYQuery.h"
+#import "CAYPersistentObject.h"
+
+@implementation CAYObjectContext
+
+-(NSArray *)performQyery:(CAYQuery *)query
+{
+ CAYQueryMessage *queryMessage = [[CAYQueryMessage alloc] init];
+ [queryMessage setQuery:query];
+ id result = [[self connection] sendMessage:queryMessage];
+ [queryMessage release];
+
+ NSArray *results = [result results];
+
+ NSArray *rows = [results objectAtIndex:0];
+
+ NSLog(@"result2c %@", rows);
+ return rows;
+}
+
+-(void)prepareForAccessForObject:(CAYPersistentObject *)o andProperty:(NSString *)prop
+{
+ // TODO: implement
+ // TODO: use the model to determine if the given property is a relation. issue a RelationshipQuery if needed
+}
+
+-(void)setConnection:(CAYClientConnection *)c
+{
+ [c retain];
+ [connection release];
+ connection = c;
+}
+
+-(CAYClientConnection *)connection
+{
+ return connection;
+}
+
+-(void)dealloc
+{
+ [connection release];
+ [super dealloc];
+}
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYObjectId.h
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYObjectId.h?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYObjectId.h (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYObjectId.h Mon Aug 21 13:09:22 2006
@@ -0,0 +1,35 @@
+//
+// ObjectId.h
+// CAYClient
+//
+// Created by Tore Halset on 8/12/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+
+
+@interface CAYObjectId : NSObject <NSCoding, NSCopying> {
+
+ NSString *entityName;
+ NSDictionary *objectIdKeys;
+ NSString *singleKey;
+ NSObject *singleValue;
+ NSData *tempKey;
+ //NSDictionary *replacementIdMap;
+}
+
+-(void)setEntityName:(NSString *)en;
+-(NSString *)entityName;
+-(void)setObjectIdKeys:(NSDictionary *)oidks;
+-(NSDictionary *)objectIdKeys;
+-(void)setSingleKey:(NSString *)sk;
+-(NSString *)singleKey;
+-(void)setSingleValue:(NSData *)sv;
+-(NSData *)singleValue;
+-(void)setTempKey:(NSData *)k;
+-(NSData *)tempKey;
+//-(void)setReplacementIdMap:(NSDictionary *)rm;
+//-(NSDictionary *)replacementIdMap;
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYObjectId.m
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYObjectId.m?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYObjectId.m (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYObjectId.m Mon Aug 21 13:09:22 2006
@@ -0,0 +1,162 @@
+//
+// ObjectId.m
+// CAYClient
+//
+// Created by Tore Halset on 8/12/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import "CAYObjectId.h"
+
+
+@implementation CAYObjectId
+
+-(id)initWithCoder:(NSCoder*)coder
+{
+ [super init];
+ [self setEntityName:[coder decodeObjectForKey:@"entityName"]];
+ [self setObjectIdKeys:[coder decodeObjectForKey:@"objectIdKeys"]];
+ [self setSingleKey:[coder decodeObjectForKey:@"singleKey"]];
+ [self setSingleValue:[coder decodeObjectForKey:@"singleValue"]];
+ [self setTempKey:[coder decodeObjectForKey:@"key"]];
+ return self;
+}
+
+-(void)encodeWithCoder:(NSCoder*)coder
+{
+ [coder encodeObject:entityName forKey:@"entityName"];
+ [coder encodeObject:objectIdKeys forKey:@"objectIdKeys"];
+ [coder encodeObject:singleKey forKey:@"singleKey"];
+ [coder encodeObject:singleValue forKey:@"singleValue"];
+ [coder encodeObject:tempKey forKey:@"key"];
+}
+
+- (id)copyWithZone:(NSZone *)zone
+{
+ id copy = [[[self class] allocWithZone:zone] init];
+ [copy setEntityName:[self entityName]];
+ [copy setObjectIdKeys:[self objectIdKeys]];
+ [copy setSingleKey:[self singleKey]];
+ [copy setSingleValue:[self singleValue]];
+ [copy setTempKey:[self tempKey]];
+
+ return copy;
+}
+
+-(void)setEntityName:(NSString *)en
+{
+ [en retain];
+ [entityName release];
+ entityName = en;
+}
+
+-(NSString *)entityName
+{
+ return entityName;
+}
+
+-(void)setObjectIdKeys:(NSDictionary *)oidks
+{
+ [oidks retain];
+ [objectIdKeys release];
+ objectIdKeys = oidks;
+}
+
+-(NSDictionary *)objectIdKeys
+{
+ return objectIdKeys;
+}
+
+-(void)setSingleKey:(NSString *)sk
+{
+ [sk retain];
+ [singleKey release];
+ singleKey = sk;
+}
+
+-(NSString *)singleKey
+{
+ return singleKey;
+}
+
+-(void)setSingleValue:(NSData *)sv
+{
+ [sv retain];
+ [singleValue release];
+ singleValue = sv;
+}
+
+-(NSData *)singleValue
+{
+ return singleValue;
+}
+
+-(void)setTempKey:(NSData *)k
+{
+ [k retain];
+ [tempKey release];
+ tempKey = k;
+}
+
+-(NSData *)tempKey
+{
+ return tempKey;
+}
+
+/*
+ -(void)setReplacementIdMap:(NSDictionary *)rm
+ {
+ [rm retain];
+ [replacementIdMap release];
+ replacementIdMap = rm;
+ }
+
+ -(NSDictionary *)replacementIdMap
+ {
+ return replacementIdMap;
+ }
+ */
+
+- (unsigned)hash
+{
+ /*
+ file:///Developer/ADC%20Reference%20Library/documentation/Cocoa/Reference/Foundation/Protocols/NSObject_Protocol/Reference/Reference.html#//apple_ref/occ/intfm/NSObject/hash
+
+ http://www.mulle-kybernetik.com/artikel/Optimization/opti-7.html
+ */
+ // TODO: implement!
+ // TODO: be smart about how to build hash value
+ unsigned hash = 17;
+ hash = hash + [entityName hash];
+ if([self singleKey] != nil)
+ {
+ hash = hash + [singleKey hash];
+ hash = hash + [singleValue hash];
+ }
+ else if ([self objectIdKeys] != nil)
+ {
+ // TODO: remember that values can come in random order
+ }
+ return hash;
+}
+
+- (BOOL)isEqual:(id)anObject
+{
+ // TODO: implement
+ if(![[self entityName] isEqualToString:[anObject entityName]])
+ {
+ return NO;
+ }
+ if(([self singleKey] != nil)&&(![[self singleKey] isEqualToString:[anObject singleKey]])&&(![[self singleValue] isEqual:[anObject singleValue]]))
+ {
+ return NO;
+ }
+ if(([self tempKey] != nil)&&(![[self tempKey] isEqualToData:[anObject tempKey]]))
+ {
+ return NO;
+ }
+ // TODO: check all values
+ return YES;
+}
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYPersistentObject.h
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYPersistentObject.h?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYPersistentObject.h (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYPersistentObject.h Mon Aug 21 13:09:22 2006
@@ -0,0 +1,27 @@
+//
+// CAYPersistentObject.h
+// CAYClient
+//
+// Created by Tore Halset on 8/14/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+#import "CAYObjectId.h"
+#import "CAYObjectContext.h"
+
+@interface CAYPersistentObject : NSObject {
+ CAYObjectId *objectId;
+ unsigned int persistenceState;
+ id objectContext;
+}
+
+-(void)setObjectId:(CAYObjectId *)oid;
+-(CAYObjectId *)objectId;
+-(void)setPersistenceState:(unsigned int)state;
+-(unsigned int)persistenceState;
+-(void)setObjectContext:(CAYObjectContext *)ctxt;
+-(CAYObjectContext *)objectContext;
+
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYPersistentObject.m
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYPersistentObject.m?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYPersistentObject.m (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYPersistentObject.m Mon Aug 21 13:09:22 2006
@@ -0,0 +1,58 @@
+//
+// CAYPersistentObject.m
+// CAYClient
+//
+// Created by Tore Halset on 8/14/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import "CAYPersistentObject.h"
+#import "CAYObjectId.h"
+#import "CAYObjectContext.h"
+
+
+@implementation CAYPersistentObject
+
+-(void)setObjectId:(CAYObjectId *)oid
+{
+ [oid retain];
+ [objectId release];
+ objectId = oid;
+}
+
+-(CAYObjectId *)objectId
+{
+ return objectId;
+}
+
+-(void)setPersistenceState:(unsigned int)state
+{
+ persistenceState = state;
+}
+
+-(unsigned int)persistenceState
+{
+ return persistenceState;
+}
+
+-(void)setObjectContext:(CAYObjectContext *)ctxt
+{
+ [ctxt retain];
+ [objectContext release];
+ objectContext = ctxt;
+}
+
+-(CAYObjectContext *)objectContext
+{
+ return objectContext;
+}
+
+-(void)dealloc
+{
+ [objectId release];
+ [objectContext release];
+ [super dealloc];
+}
+
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYQuery.h
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYQuery.h?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYQuery.h (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYQuery.h Mon Aug 21 13:09:22 2006
@@ -0,0 +1,16 @@
+//
+// CAYQuery.h
+// CAYClient
+//
+// Created by Tore Halset on 8/13/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+
+
+@interface CAYQuery : NSObject {
+
+}
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYQuery.m
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYQuery.m?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYQuery.m (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYQuery.m Mon Aug 21 13:09:22 2006
@@ -0,0 +1,14 @@
+//
+// CAYQuery.m
+// CAYClient
+//
+// Created by Tore Halset on 8/13/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import "CAYQuery.h"
+
+
+@implementation CAYQuery
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYQueryMessage.h
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYQueryMessage.h?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYQueryMessage.h (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYQueryMessage.h Mon Aug 21 13:09:22 2006
@@ -0,0 +1,21 @@
+//
+// QueryMessage.h
+// CAYClient
+//
+// Created by Tore Halset on 8/12/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+#import "CAYQuery.h"
+#import "CAYClientMessage.h"
+
+@interface CAYQueryMessage : CAYClientMessage <NSCoding> {
+ CAYQuery *query;
+ //id *query;
+}
+
+-(void)setQuery:(CAYQuery *)q;
+-(CAYQuery *)query;
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYQueryMessage.m
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYQueryMessage.m?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYQueryMessage.m (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYQueryMessage.m Mon Aug 21 13:09:22 2006
@@ -0,0 +1,45 @@
+//
+// QueryMessage.m
+// CAYClient
+//
+// Created by Tore Halset on 8/12/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import "CAYQueryMessage.h"
+#import "CAYQuery.h"
+
+@implementation CAYQueryMessage
+
+-(id)initWithCoder:(NSCoder*)coder
+{
+ [super init];
+ [self setQuery:[coder decodeObjectForKey:@"query"]];
+ return self;
+}
+
+-(void)encodeWithCoder:(NSCoder*)coder
+{
+ [coder encodeObject:query forKey:@"query"];
+}
+
+-(void)setQuery:(CAYQuery *)q
+{
+ [q retain];
+ [query release];
+ query = q;
+}
+
+-(CAYQuery *)query
+{
+ return query;
+}
+
+
+-(void)dealloc
+{
+ [query release];
+ [super dealloc];
+}
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYRelationshipQuery.h
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYRelationshipQuery.h?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYRelationshipQuery.h (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYRelationshipQuery.h Mon Aug 21 13:09:22 2006
@@ -0,0 +1,24 @@
+//
+// CAYRelationshipQuery.h
+// CAYClient
+//
+// Created by Tore Halset on 8/13/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+#import "CAYQuery.h"
+#import "CAYObjectId.h"
+
+@interface CAYRelationshipQuery : CAYQuery <NSCoding> {
+ CAYObjectId *objectId;
+ NSString *relationshipName;
+ BOOL refreshing;
+}
+
+-(void)setObjectId:(CAYObjectId *)oid;
+-(CAYObjectId *)objectId;
+-(void)setRelationshipName:(NSString *)reln;
+-(NSString *)relationshipName;
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYRelationshipQuery.m
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYRelationshipQuery.m?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYRelationshipQuery.m (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYRelationshipQuery.m Mon Aug 21 13:09:22 2006
@@ -0,0 +1,61 @@
+//
+// CAYRelationshipQuery.m
+// CAYClient
+//
+// Created by Tore Halset on 8/13/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import "CAYRelationshipQuery.h"
+
+
+@implementation CAYRelationshipQuery
+
+-(id)initWithCoder:(NSCoder*)coder
+{
+ [super init];
+ refreshing = [coder decodeBoolForKey:@"refreshing"];
+ [self setObjectId:[coder decodeObjectForKey:@"objectId"]];
+ [self setRelationshipName:[coder decodeObjectForKey:@"relationshipName"]];
+ return self;
+}
+
+-(void)encodeWithCoder:(NSCoder*)coder
+{
+ [coder encodeBool:refreshing forKey:@"refreshing"];
+ [coder encodeObject:objectId forKey:@"objectId"];
+ [coder encodeObject:relationshipName forKey:@"relationshipName"];
+}
+
+-(void)setObjectId:(CAYObjectId *)oid
+{
+ [oid retain];
+ [objectId release];
+ objectId = oid;
+}
+
+-(CAYObjectId *)objectId
+{
+ return objectId;
+}
+
+-(void)setRelationshipName:(NSString *)reln
+{
+ [reln retain];
+ [relationshipName release];
+ relationshipName = reln;
+}
+
+-(NSString *)relationshipName
+{
+ return relationshipName;
+}
+
+-(void)dealloc
+{
+ [relationshipName release];
+ [objectId release];
+ [super dealloc];
+}
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYRemoteSession.h
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYRemoteSession.h?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYRemoteSession.h (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYRemoteSession.h Mon Aug 21 13:09:22 2006
@@ -0,0 +1,22 @@
+//
+// RemoteSession.h
+// CAYClient
+//
+// Created by Tore Halset on 8/12/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+
+
+@interface CAYRemoteSession : NSObject <NSCoding> {
+ NSString *name;
+ NSString *sessionId;
+}
+
+-(void)setName:(NSString *)n;
+-(NSString *)name;
+-(void)setSessionId:(NSString *)s;
+-(NSString *)sessionId;
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/CAYRemoteSession.m
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYRemoteSession.m?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYRemoteSession.m (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYRemoteSession.m Mon Aug 21 13:09:22 2006
@@ -0,0 +1,58 @@
+//
+// RemoteSession.m
+// CAYClient
+//
+// Created by Tore Halset on 8/12/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import "CAYRemoteSession.h"
+
+
+@implementation CAYRemoteSession
+
+-(id)initWithCoder:(NSCoder*)coder
+{
+ [super init];
+ [self setName:[coder decodeObjectForKey:@"name"]];
+ return self;
+}
+
+-(void)encodeWithCoder:(NSCoder*)coder
+{
+ [coder encodeObject:name forKey:@"name"];
+}
+
+-(void)setName:(NSString *)n
+{
+ [n retain];
+ [name release];
+ name = n;
+}
+
+-(NSString *)name
+{
+ return name;
+}
+
+-(void)setSessionId:(NSString *)s
+{
+ [s retain];
+ [sessionId release];
+ sessionId = s;
+}
+
+-(NSString *)sessionId
+{
+ return sessionId;
+}
+
+-(void)dealloc
+{
+ [name release];
+ [sessionId release];
+ [super dealloc];
+}
+
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/English.lproj/InfoPlist.strings
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/English.lproj/InfoPlist.strings?rev=433339&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cayenne/sandbox/CocoaCayenne/English.lproj/InfoPlist.strings
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cayenne/sandbox/CocoaCayenne/English.lproj/MainMenu.nib/classes.nib
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/English.lproj/MainMenu.nib/classes.nib?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/English.lproj/MainMenu.nib/classes.nib (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/English.lproj/MainMenu.nib/classes.nib Mon Aug 21 13:09:22 2006
@@ -0,0 +1,13 @@
+{
+ IBClasses = (
+ {
+ ACTIONS = {query = id; };
+ CLASS = AppController;
+ LANGUAGE = ObjC;
+ OUTLETS = {queryResult = NSArray; queryResultController = NSArrayController; };
+ SUPERCLASS = NSObject;
+ },
+ {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }
+ );
+ IBVersion = 1;
+}
\ No newline at end of file
Added: incubator/cayenne/sandbox/CocoaCayenne/English.lproj/MainMenu.nib/info.nib
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/English.lproj/MainMenu.nib/info.nib?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/English.lproj/MainMenu.nib/info.nib (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/English.lproj/MainMenu.nib/info.nib Mon Aug 21 13:09:22 2006
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IBDocumentLocation</key>
+ <string>108 203 356 240 0 0 1680 1028 </string>
+ <key>IBEditorPositions</key>
+ <dict>
+ <key>29</key>
+ <string>132 352 338 44 0 0 1680 1028 </string>
+ </dict>
+ <key>IBFramework Version</key>
+ <string>446.1</string>
+ <key>IBOpenObjects</key>
+ <array>
+ <integer>29</integer>
+ <integer>21</integer>
+ </array>
+ <key>IBSystem Version</key>
+ <string>8J2135</string>
+</dict>
+</plist>
Added: incubator/cayenne/sandbox/CocoaCayenne/English.lproj/MainMenu.nib/keyedobjects.nib
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/English.lproj/MainMenu.nib/keyedobjects.nib?rev=433339&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cayenne/sandbox/CocoaCayenne/English.lproj/MainMenu.nib/keyedobjects.nib
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cayenne/sandbox/CocoaCayenne/English.lproj/MainMenu~.nib/classes.nib
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/English.lproj/MainMenu%7E.nib/classes.nib?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/English.lproj/MainMenu~.nib/classes.nib (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/English.lproj/MainMenu~.nib/classes.nib Mon Aug 21 13:09:22 2006
@@ -0,0 +1,13 @@
+{
+ IBClasses = (
+ {
+ ACTIONS = {query = id; };
+ CLASS = AppController;
+ LANGUAGE = ObjC;
+ OUTLETS = {queryResult = NSArray; queryResultController = NSArrayController; };
+ SUPERCLASS = NSObject;
+ },
+ {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }
+ );
+ IBVersion = 1;
+}
\ No newline at end of file
Added: incubator/cayenne/sandbox/CocoaCayenne/English.lproj/MainMenu~.nib/info.nib
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/English.lproj/MainMenu%7E.nib/info.nib?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/English.lproj/MainMenu~.nib/info.nib (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/English.lproj/MainMenu~.nib/info.nib Mon Aug 21 13:09:22 2006
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IBDocumentLocation</key>
+ <string>108 203 356 240 0 0 1680 1028 </string>
+ <key>IBEditorPositions</key>
+ <dict>
+ <key>29</key>
+ <string>132 352 338 44 0 0 1680 1028 </string>
+ </dict>
+ <key>IBFramework Version</key>
+ <string>446.1</string>
+ <key>IBOpenObjects</key>
+ <array>
+ <integer>29</integer>
+ <integer>21</integer>
+ </array>
+ <key>IBSystem Version</key>
+ <string>8J2135</string>
+</dict>
+</plist>
Added: incubator/cayenne/sandbox/CocoaCayenne/English.lproj/MainMenu~.nib/keyedobjects.nib
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/English.lproj/MainMenu%7E.nib/keyedobjects.nib?rev=433339&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cayenne/sandbox/CocoaCayenne/English.lproj/MainMenu~.nib/keyedobjects.nib
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cayenne/sandbox/CocoaCayenne/Gallery.h
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/Gallery.h?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/Gallery.h (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/Gallery.h Mon Aug 21 13:09:22 2006
@@ -0,0 +1,16 @@
+//
+// Gallery.h
+// CAYClient
+//
+// Created by Tore Halset on 8/14/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+#import "CAYPersistentObject.h"
+
+@interface Gallery : CAYPersistentObject {
+
+}
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/Gallery.m
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/Gallery.m?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/Gallery.m (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/Gallery.m Mon Aug 21 13:09:22 2006
@@ -0,0 +1,14 @@
+//
+// Gallery.m
+// CAYClient
+//
+// Created by Tore Halset on 8/14/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import "Gallery.h"
+
+
+@implementation Gallery
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/Info.plist
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/Info.plist?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/Info.plist (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/Info.plist Mon Aug 21 13:09:22 2006
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIconFile</key>
+ <string></string>
+ <key>CFBundleIdentifier</key>
+ <string>com.yourcompany.CAYClient</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+ <key>NSMainNibFile</key>
+ <string>MainMenu</string>
+ <key>NSPrincipalClass</key>
+ <string>NSApplication</string>
+</dict>
+</plist>
Added: incubator/cayenne/sandbox/CocoaCayenne/Japanese.lproj/InfoPlist.strings
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/Japanese.lproj/InfoPlist.strings?rev=433339&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cayenne/sandbox/CocoaCayenne/Japanese.lproj/InfoPlist.strings
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cayenne/sandbox/CocoaCayenne/Japanese.lproj/MainMenu.nib/classes.nib
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/Japanese.lproj/MainMenu.nib/classes.nib?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/Japanese.lproj/MainMenu.nib/classes.nib (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/Japanese.lproj/MainMenu.nib/classes.nib Mon Aug 21 13:09:22 2006
@@ -0,0 +1,4 @@
+{
+ IBClasses = ({CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; });
+ IBVersion = 1;
+}
\ No newline at end of file
Added: incubator/cayenne/sandbox/CocoaCayenne/Japanese.lproj/MainMenu.nib/info.nib
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/Japanese.lproj/MainMenu.nib/info.nib?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/Japanese.lproj/MainMenu.nib/info.nib (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/Japanese.lproj/MainMenu.nib/info.nib Mon Aug 21 13:09:22 2006
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IBDocumentLocation</key>
+ <string>94 103 356 240 0 0 1280 1002 </string>
+ <key>IBEditorPositions</key>
+ <dict>
+ <key>29</key>
+ <string>93 343 318 44 0 0 1280 1002 </string>
+ </dict>
+ <key>IBFramework Version</key>
+ <string>403.0</string>
+ <key>IBSystem Version</key>
+ <string>8A278</string>
+</dict>
+</plist>
Added: incubator/cayenne/sandbox/CocoaCayenne/Japanese.lproj/MainMenu.nib/keyedobjects.nib
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/Japanese.lproj/MainMenu.nib/keyedobjects.nib?rev=433339&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cayenne/sandbox/CocoaCayenne/Japanese.lproj/MainMenu.nib/keyedobjects.nib
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cayenne/sandbox/CocoaCayenne/Painting.h
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/Painting.h?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/Painting.h (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/Painting.h Mon Aug 21 13:09:22 2006
@@ -0,0 +1,16 @@
+//
+// Painting.h
+// CAYClient
+//
+// Created by Tore Halset on 8/14/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+#import "CAYPersistentObject.h"
+
+@interface Painting : CAYPersistentObject {
+
+}
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/Painting.m
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/Painting.m?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/Painting.m (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/Painting.m Mon Aug 21 13:09:22 2006
@@ -0,0 +1,14 @@
+//
+// Painting.m
+// CAYClient
+//
+// Created by Tore Halset on 8/14/06.
+// Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import "Painting.h"
+
+
+@implementation Painting
+
+@end
Added: incubator/cayenne/sandbox/CocoaCayenne/main.m
URL: http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/main.m?rev=433339&view=auto
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/main.m (added)
+++ incubator/cayenne/sandbox/CocoaCayenne/main.m Mon Aug 21 13:09:22 2006
@@ -0,0 +1,14 @@
+//
+// main.m
+// CAYClient
+//
+// Created by Tore Halset on 8/11/06.
+// Copyright __MyCompanyName__ 2006. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+
+int main(int argc, char *argv[])
+{
+ return NSApplicationMain(argc, (const char **) argv);
+}