Package org.goplanit.path
Class ContainerisedDirectedPathFactoryImpl
- java.lang.Object
-
- org.goplanit.utils.id.ManagedIdEntityFactoryImpl<ManagedDirectedPath>
-
- org.goplanit.path.ManagedDirectedPathFactoryImpl
-
- org.goplanit.path.ContainerisedDirectedPathFactoryImpl
-
- All Implemented Interfaces:
ManagedIdEntityFactory<ManagedDirectedPath>
,ContainerisedDirectedPathFactory
,DirectedPathFactory<ManagedDirectedPath>
,ManagedDirectedPathFactory
public class ContainerisedDirectedPathFactoryImpl extends ManagedDirectedPathFactoryImpl implements ContainerisedDirectedPathFactory
Factory for creating directed paths on container- Author:
- markr
-
-
Field Summary
-
Fields inherited from class org.goplanit.utils.id.ManagedIdEntityFactoryImpl
groupIdToken
-
-
Constructor Summary
Constructors Constructor Description ContainerisedDirectedPathFactoryImpl(IdGroupingToken groupIdToken, ManagedDirectedPaths directedPaths)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedDirectedPath
registerNew()
Create new pathManagedDirectedPath
registerNew(Deque<? extends EdgeSegment> edgeSegments)
Create new path based on the provided edge segments-
Methods inherited from class org.goplanit.path.ManagedDirectedPathFactoryImpl
createNew, createNew
-
Methods inherited from class org.goplanit.utils.id.ManagedIdEntityFactoryImpl
createUniqueDeepCopyOf, createUniqueShallowCopyOf, getIdGroupingToken, setIdGroupingToken
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.goplanit.utils.path.ManagedDirectedPathFactory
createNew, createNew
-
Methods inherited from interface org.goplanit.utils.id.ManagedIdEntityFactory
createUniqueDeepCopyOf, createUniqueShallowCopyOf, getIdGroupingToken, setIdGroupingToken
-
-
-
-
Constructor Detail
-
ContainerisedDirectedPathFactoryImpl
public ContainerisedDirectedPathFactoryImpl(IdGroupingToken groupIdToken, ManagedDirectedPaths directedPaths)
Constructor- Parameters:
groupIdToken
- to use for creating element idsdirectedPaths
- to register the created instances on
-
-
Method Detail
-
registerNew
public ManagedDirectedPath registerNew()
Create new path- Specified by:
registerNew
in interfaceContainerisedDirectedPathFactory
- Returns:
- the created path
-
registerNew
public ManagedDirectedPath registerNew(Deque<? extends EdgeSegment> edgeSegments)
Create new path based on the provided edge segments- Specified by:
registerNew
in interfaceContainerisedDirectedPathFactory
- Parameters:
edgeSegments
- of the path- Returns:
- the created path
-
-