Author: torehalset
Date: Sat Sep 30 14:03:13 2006
New Revision: 451664

URL: http://svn.apache.org/viewvc?view=rev&rev=451664
Log:
better description

Modified:
    
incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYClientObjRelationship.m
    incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYObjEntity.m

Modified: 
incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYClientObjRelationship.m
URL: 
http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYClientObjRelationship.m?view=diff&rev=451664&r1=451663&r2=451664
==============================================================================
--- 
incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYClientObjRelationship.m 
(original)
+++ 
incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYClientObjRelationship.m 
Sat Sep 30 14:03:13 2006
@@ -83,15 +83,13 @@
     return toMany;
 }
 
-/*
 -(NSString *)description
 {
     NSString *result;
-    result = [[NSString alloc] initWithFormat:@"CAYClientObjRelationship 
{toMany = %@; name = %@; targetEntityName = %@; reverseRelationshipName = 
[EMAIL PROTECTED]", [self class], [self isToMany], [self name], [self 
targetEntityName], [self reverseRelationshipName]];
+    result = [[NSString alloc] initWithFormat:@"%@ {toMany = %i; name = %@; 
targetEntityName = %@; reverseRelationshipName = [EMAIL PROTECTED]", [self 
class], [self isToMany], [self name], [self targetEntityName], [self 
reverseRelationshipName]];
     [result autorelease];
     return result;
 }
-*/
 
 -(void)dealloc
 {

Modified: incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYObjEntity.m
URL: 
http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYObjEntity.m?view=diff&rev=451664&r1=451663&r2=451664
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYObjEntity.m 
(original)
+++ incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYObjEntity.m Sat Sep 
30 14:03:13 2006
@@ -94,6 +94,14 @@
     return serverClassName;
 }
 
+-(NSString *)description
+{
+    NSString *result = [[NSString alloc] initWithFormat:@"%@ {name = %@; 
attributes = %@, serverClassName = %@, relationships = [EMAIL PROTECTED]", 
[self class], [self name], [self attributes], [self serverClassName], [self 
relationships]];
+    [result autorelease];
+    return result;
+}
+
+
 -(void)dealloc
 {
     [self setAttributes:nil];


Reply via email to