Interface ConnectoidEdgeFactory
-
- All Superinterfaces:
GraphEntityFactory<ConnectoidEdge>
,ManagedIdEntityFactory<ConnectoidEdge>
- All Known Implementing Classes:
ConnectoidEdgeFactoryImpl
public interface ConnectoidEdgeFactory extends GraphEntityFactory<ConnectoidEdge>
Factory interface for connectoid edges- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<ConnectoidEdge>
registerNew(Connectoid connectoid)
Create new connectoid edges from a specified connectoid to all centroids of the zones this connectoid has registered as access zone.-
Methods inherited from interface org.goplanit.utils.id.ManagedIdEntityFactory
createUniqueCopyOf, getIdGroupingToken, setIdGroupingToken
-
-
-
-
Method Detail
-
registerNew
Collection<ConnectoidEdge> registerNew(Connectoid connectoid) throws PlanItException
Create new connectoid edges from a specified connectoid to all centroids of the zones this connectoid has registered as access zone.- Parameters:
connectoid
- extract information from connectoid to create virtual connectoid edge(s)- Returns:
- newly created connectoid edges (reference nodes not yet aware of connection these have to be added afterwards)
- Throws:
PlanItException
- thrown if there is an error
-
-