summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel/collection/RelationshipUtils.java
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2012-06-22 10:11:17 +0200
committerAndrew Branson <andrew.branson@cern.ch>2012-06-22 10:11:17 +0200
commit0baa46d5ee4f62adb58f436af4978d9468454870 (patch)
treecb88cda1ed564b8bb445fd4180728fd0db25192f /src/main/java/com/c2kernel/collection/RelationshipUtils.java
parente0b01f55e2be314ee60df092aa75f34c5f4cb8f2 (diff)
Modules and entitycreation support Aggregations, collection properties
and class identifiers
Diffstat (limited to 'src/main/java/com/c2kernel/collection/RelationshipUtils.java')
-rw-r--r--src/main/java/com/c2kernel/collection/RelationshipUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/c2kernel/collection/RelationshipUtils.java b/src/main/java/com/c2kernel/collection/RelationshipUtils.java
index 6e35ac8..0151b7e 100644
--- a/src/main/java/com/c2kernel/collection/RelationshipUtils.java
+++ b/src/main/java/com/c2kernel/collection/RelationshipUtils.java
@@ -19,7 +19,7 @@ public class RelationshipUtils
if (entityKey == -1) return false;
try
{
- if ( ((Aggregation) Gateway.getProxyManager().getProxy(new EntityPath(entityKey)).getObject(ClusterStorage.COLLECTION+"/Composition" )).size() > 0 )
+ if ( Gateway.getProxyManager().getProxy(new EntityPath(entityKey)).getContents(ClusterStorage.COLLECTION).length > 0 )
return true;
}
catch (Exception ex)