cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r570030 - /cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/map/ObjEntity.java
Date Mon, 27 Aug 2007 08:22:00 GMT
Author: aadamchik
Date: Mon Aug 27 01:21:59 2007
New Revision: 570030

URL: http://svn.apache.org/viewvc?rev=570030&view=rev
Log:
CAY-854 the relationships to entities which are "not for client use" are being returned by
${objEntity.DeclaredRelationships} tag in superclass template

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/map/ObjEntity.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/map/ObjEntity.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/map/ObjEntity.java?rev=570030&r1=570029&r2=570030&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/map/ObjEntity.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/map/ObjEntity.java
Mon Aug 27 01:21:59 2007
@@ -198,6 +198,8 @@
             }
             
             ObjEntity targetEntity = (ObjEntity) relationship.getTargetEntity();
+            // note that 'isClientAllowed' also checks parent DataMap client policy 
+            // that can be handy in case of cross-map relationships
             if(targetEntity == null || !targetEntity.isClientAllowed()) {
                 continue;
             }



Mime
View raw message