package com.c2kernel.collection; import com.c2kernel.common.ObjectNotFoundException; import com.c2kernel.graph.model.GraphModel; import com.c2kernel.graph.model.GraphPoint; import com.c2kernel.graph.model.TypeNameAndConstructionInfo; import com.c2kernel.lookup.ItemPath; import com.c2kernel.persistency.ClusterStorage; import com.c2kernel.process.Gateway; import com.c2kernel.utils.CastorHashMap; import com.c2kernel.utils.Language; import com.c2kernel.utils.Logger; /** * @version $Revision: 1.59 $ $Date: 2004/08/10 07:56:08 $ * @author $Author: abranson $ */ abstract public class Aggregation extends Collection { protected GraphModel mLayout = new GraphModel(new AggregationVertexOutlineCreator()); private final TypeNameAndConstructionInfo[] mVertexTypeNameAndConstructionInfo = { new TypeNameAndConstructionInfo(Language.translate("Slot"), "AggregationMember") }; public Aggregation() { setName("Aggregation"); } public GraphModel getLayout() { return mLayout; } public void setLayout(GraphModel layout) { mLayout = layout; layout.setVertexOutlineCreator(new AggregationVertexOutlineCreator()); } public TypeNameAndConstructionInfo[] getVertexTypeNameAndConstructionInfo() { return mVertexTypeNameAndConstructionInfo; } public boolean exists(ItemPath itemPath) { for (int i=0; i