summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel/collection/RelationshipUtils.java
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2012-07-30 22:03:28 +0200
committerAndrew Branson <andrew.branson@cern.ch>2012-07-30 22:03:28 +0200
commit409741e181838b3712c17d858b3ea594976de623 (patch)
tree58b5df049d46dd55718347416c36111950abeaf9 /src/main/java/com/c2kernel/collection/RelationshipUtils.java
parentce633a2dc86f663fb35fd7ec4efb679c81ae138b (diff)
Remove RelationshipUtils. Move getIsComposite method into Aggregation
where it is used. Separate slot adding from member assignment in Aggregation.
Diffstat (limited to 'src/main/java/com/c2kernel/collection/RelationshipUtils.java')
-rw-r--r--src/main/java/com/c2kernel/collection/RelationshipUtils.java33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/main/java/com/c2kernel/collection/RelationshipUtils.java b/src/main/java/com/c2kernel/collection/RelationshipUtils.java
deleted file mode 100644
index 0151b7e..0000000
--- a/src/main/java/com/c2kernel/collection/RelationshipUtils.java
+++ /dev/null
@@ -1,33 +0,0 @@
-package com.c2kernel.collection;
-
-
-import com.c2kernel.lookup.EntityPath;
-import com.c2kernel.persistency.ClusterStorage;
-import com.c2kernel.process.Gateway;
-
-
-/**
- * @version $Revision: 1.22 $ $Date: 2004/10/21 08:02:23 $
- * @author $Author: abranson $
- */
-
-public class RelationshipUtils
-{
-
- static public boolean getIsComposite(int entityKey)
- {
- if (entityKey == -1) return false;
- try
- {
- if ( Gateway.getProxyManager().getProxy(new EntityPath(entityKey)).getContents(ClusterStorage.COLLECTION).length > 0 )
- return true;
- }
- catch (Exception ex)
- {
- //do nothing - member has no composition, thus elementary
- }
-
- return false;
- }
-
-}