Interface ConnectoidSegmentFactory
-
- All Superinterfaces:
GraphEntityFactory<ConnectoidSegment>
,ManagedIdEntityFactory<ConnectoidSegment>
- All Known Implementing Classes:
ConnectoidSegmentFactoryImpl
public interface ConnectoidSegmentFactory extends GraphEntityFactory<ConnectoidSegment>
Factory interface for connectoid segments- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectoidSegment
registerNew(ConnectoidEdge parent, boolean directionAB)
Create and register connectoid segment in AB direction on container-
Methods inherited from interface org.goplanit.utils.id.ManagedIdEntityFactory
createUniqueCopyOf, getIdGroupingToken, setIdGroupingToken
-
-
-
-
Method Detail
-
registerNew
ConnectoidSegment registerNew(ConnectoidEdge parent, boolean directionAB) throws PlanItException
Create and register connectoid segment in AB direction on container- Parameters:
parent
- the connectoid which will contain this connectoid segmentdirectionAB
- direction of travel- Returns:
- created connectoid segment
- Throws:
PlanItException
- thrown if there is an error
-
-