Package org.goplanit.service.routed
Class RoutedTripsFrequencyImpl
- java.lang.Object
-
- org.goplanit.utils.wrapper.MapWrapperImpl<Long,V>
-
- org.goplanit.utils.wrapper.LongMapWrapperImpl<E>
-
- org.goplanit.utils.id.ManagedIdEntitiesImpl<T>
-
- org.goplanit.service.routed.RoutedTripsImpl<RoutedTripFrequency>
-
- org.goplanit.service.routed.RoutedTripsFrequencyImpl
-
- All Implemented Interfaces:
Cloneable,Iterable<RoutedTripFrequency>,RoutedTrips<RoutedTripFrequency>,RoutedTripsFrequency,ManagedIdEntities<RoutedTripFrequency>,LongMapWrapper<RoutedTripFrequency>,MapWrapper<Long,RoutedTripFrequency>
public class RoutedTripsFrequencyImpl extends RoutedTripsImpl<RoutedTripFrequency> implements RoutedTripsFrequency
Implementation of the RoutedTripsFrequency interface.- Author:
- markr
-
-
Field Summary
-
Fields inherited from class org.goplanit.service.routed.RoutedTripsImpl
factory
-
Fields inherited from class org.goplanit.utils.id.ManagedIdEntitiesImpl
managedIdClass
-
-
Constructor Summary
Constructors Modifier Constructor Description RoutedTripsFrequencyImpl(RoutedTripsFrequencyImpl routedTripsFrequencyImpl)Copy constructorprotectedRoutedTripsFrequencyImpl(IdGroupingToken tokenId)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RoutedTripsFrequencyImplclone()Each map wrapper should be cloneable where the contents are references of the original where possible but the underlying map itself is newly createdRoutedTripFrequencyFactorygetFactory()Factory to create instance of managed id entity (for this container class)-
Methods inherited from class org.goplanit.service.routed.RoutedTripsImpl
setFactory
-
Methods inherited from class org.goplanit.utils.id.ManagedIdEntitiesImpl
getManagedIdClass, recreateIds, reset, updateIdMapping
-
Methods inherited from class org.goplanit.utils.wrapper.LongMapWrapperImpl
containsKey, get, remove
-
Methods inherited from class org.goplanit.utils.wrapper.MapWrapperImpl
clear, contains, createEmptyInstance, findFirst, get, getKeyByValue, getMap, getValueToKey, isEmpty, iterator, register, remove, setMap, size, toCollection, valuesAsNewSet
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface org.goplanit.utils.wrapper.LongMapWrapper
get, remove
-
Methods inherited from interface org.goplanit.utils.id.ManagedIdEntities
containsKey, getManagedIdClass, recreateIds, recreateIds, reset
-
Methods inherited from interface org.goplanit.utils.wrapper.MapWrapper
addAll, clear, contains, findFirst, forEachIn, get, getFirst, getKeyByValue, isEmpty, register, remove, size, toCollection, valuesAsNewSet
-
-
-
-
Constructor Detail
-
RoutedTripsFrequencyImpl
protected RoutedTripsFrequencyImpl(IdGroupingToken tokenId)
Constructor- Parameters:
tokenId- to use
-
RoutedTripsFrequencyImpl
public RoutedTripsFrequencyImpl(RoutedTripsFrequencyImpl routedTripsFrequencyImpl)
Copy constructor- Parameters:
routedTripsFrequencyImpl- to copy
-
-
Method Detail
-
clone
public RoutedTripsFrequencyImpl clone()
Each map wrapper should be cloneable where the contents are references of the original where possible but the underlying map itself is newly created- Specified by:
clonein interfaceManagedIdEntities<RoutedTripFrequency>- Specified by:
clonein interfaceMapWrapper<Long,RoutedTripFrequency>- Specified by:
clonein interfaceRoutedTripsFrequency- Specified by:
clonein classManagedIdEntitiesImpl<RoutedTripFrequency>- Returns:
- copy
-
getFactory
public RoutedTripFrequencyFactory getFactory()
Factory to create instance of managed id entity (for this container class)- Specified by:
getFactoryin interfaceManagedIdEntities<RoutedTripFrequency>- Specified by:
getFactoryin interfaceRoutedTrips<RoutedTripFrequency>- Specified by:
getFactoryin interfaceRoutedTripsFrequency- Overrides:
getFactoryin classRoutedTripsImpl<RoutedTripFrequency>- Returns:
- entity factory
-
-