summaryrefslogtreecommitdiff
path: root/source/com/c2kernel/collection/RelationshipUtils.java
diff options
context:
space:
mode:
Diffstat (limited to 'source/com/c2kernel/collection/RelationshipUtils.java')
-rw-r--r--source/com/c2kernel/collection/RelationshipUtils.java33
1 files changed, 0 insertions, 33 deletions
diff --git a/source/com/c2kernel/collection/RelationshipUtils.java b/source/com/c2kernel/collection/RelationshipUtils.java
deleted file mode 100644
index 6e35ac8..0000000
--- a/source/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 ( ((Aggregation) Gateway.getProxyManager().getProxy(new EntityPath(entityKey)).getObject(ClusterStorage.COLLECTION+"/Composition" )).size() > 0 )
- return true;
- }
- catch (Exception ex)
- {
- //do nothing - member has no composition, thus elementary
- }
-
- return false;
- }
-
-}