Package org.goplanit.service.routed
Class RoutedTripFactory<T extends RoutedTrip>
- java.lang.Object
-
- org.goplanit.utils.id.ManagedIdEntityFactoryImpl<T>
-
- org.goplanit.service.routed.RoutedTripFactory<T>
-
- Type Parameters:
T
- type of routed trip
- All Implemented Interfaces:
ManagedIdEntityFactory<T>
- Direct Known Subclasses:
RoutedTripFrequencyFactory
,RoutedTripScheduleFactory
public abstract class RoutedTripFactory<T extends RoutedTrip> extends ManagedIdEntityFactoryImpl<T>
Factory for creating routed trips of type T- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description protected RoutedTrips<T>
routedTrips
container to use-
Fields inherited from class org.goplanit.utils.id.ManagedIdEntityFactoryImpl
groupIdToken
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RoutedTripFactory(IdGroupingToken tokenId, RoutedTrips<T> routedTrips)
Constructor
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract T
createNew()
Create a newly created instance without registering on the containerT
registerNew()
Register a newly created instance on the underlying container-
Methods inherited from class org.goplanit.utils.id.ManagedIdEntityFactoryImpl
createUniqueCopyOf, getIdGroupingToken, setIdGroupingToken
-
-
-
-
Field Detail
-
routedTrips
protected final RoutedTrips<T extends RoutedTrip> routedTrips
container to use
-
-
Constructor Detail
-
RoutedTripFactory
protected RoutedTripFactory(IdGroupingToken tokenId, RoutedTrips<T> routedTrips)
Constructor- Parameters:
tokenId
- to useroutedTrips
- to use
-
-