Package org.goplanit.service.routed
Class RoutedServicesLayerFactory
- java.lang.Object
-
- org.goplanit.utils.id.ManagedIdEntityFactoryImpl<RoutedServicesLayer>
-
- org.goplanit.service.routed.RoutedServicesLayerFactory
-
- All Implemented Interfaces:
ManagedIdEntityFactory<RoutedServicesLayer>
public class RoutedServicesLayerFactory extends ManagedIdEntityFactoryImpl<RoutedServicesLayer>
Factory for creating routed services layer instances (on container)- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description protected RoutedServicesLayers
routedServicesLayers
container to use-
Fields inherited from class org.goplanit.utils.id.ManagedIdEntityFactoryImpl
groupIdToken
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RoutedServicesLayerFactory(IdGroupingToken tokenId, RoutedServicesLayers routedServicesLayers)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RoutedServicesLayer
createNew(ServiceNetworkLayer parentLayer)
Create a newly created instance without registering on the containerRoutedServicesLayer
registerNew(ServiceNetworkLayer parentLayer)
Register a newly created instance on the underlying container-
Methods inherited from class org.goplanit.utils.id.ManagedIdEntityFactoryImpl
createUniqueCopyOf, getIdGroupingToken, setIdGroupingToken
-
-
-
-
Field Detail
-
routedServicesLayers
protected final RoutedServicesLayers routedServicesLayers
container to use
-
-
Constructor Detail
-
RoutedServicesLayerFactory
protected RoutedServicesLayerFactory(IdGroupingToken tokenId, RoutedServicesLayers routedServicesLayers)
Constructor- Parameters:
tokenId
- to useroutedServicesLayers
- to use
-
-
Method Detail
-
createNew
protected RoutedServicesLayer createNew(ServiceNetworkLayer parentLayer)
Create a newly created instance without registering on the container- Parameters:
parentLayer
- the parent layer these routed services are built upon- Returns:
- created routed services layer
-
registerNew
public RoutedServicesLayer registerNew(ServiceNetworkLayer parentLayer)
Register a newly created instance on the underlying container- Parameters:
parentLayer
- the parent layer these routed services are built upon- Returns:
- created instance
-
-