summaryrefslogtreecommitdiff
path: root/source/com/c2kernel/collection/AggregationInstance.java
diff options
context:
space:
mode:
Diffstat (limited to 'source/com/c2kernel/collection/AggregationInstance.java')
-rw-r--r--source/com/c2kernel/collection/AggregationInstance.java45
1 files changed, 0 insertions, 45 deletions
diff --git a/source/com/c2kernel/collection/AggregationInstance.java b/source/com/c2kernel/collection/AggregationInstance.java
deleted file mode 100644
index 47e7c41..0000000
--- a/source/com/c2kernel/collection/AggregationInstance.java
+++ /dev/null
@@ -1,45 +0,0 @@
-package com.c2kernel.collection;
-
-/**
- * @version $Revision: 1.30 $ $Date: 2003/06/04 13:21:24 $
- * @author $Author: abranson $
- */
-
-import com.c2kernel.graph.model.GraphPoint;
-import com.c2kernel.utils.CastorHashMap;
-
-public class AggregationInstance extends Aggregation
-{
-
- public AggregationInstance()
- {
- setName("AggregationInstance");
- }
-
- public AggregationInstance(String name)
- {
- setName(name);
- }
-
-
- @Override
- public AggregationMember addMember(int entityKey, CastorHashMap props, String classProps)
- throws MembershipException
- {
- if( entityKey!=-1 && exists(entityKey))
- throw new MembershipException(entityKey+" already exists in this collection.");
- else
- return super.addMember(entityKey, props, classProps);
- }
-
- @Override
- public AggregationMember addMember(int entityKey, CastorHashMap props, String classProps, GraphPoint location, int w, int h)
- throws MembershipException
- {
- if( entityKey!=-1 && exists(entityKey))
- throw new MembershipException(entityKey+" already exists in this collection.");
- else
- return super.addMember(entityKey, props, classProps, location, w, h);
- }
-}
-