Interface RoutedModeServices
-
- All Superinterfaces:
Iterable<RoutedService>,LongMapWrapper<RoutedService>,ManagedIdEntities<RoutedService>,MapWrapper<Long,RoutedService>
- All Known Implementing Classes:
RoutedModeServicesImpl
public interface RoutedModeServices extends ManagedIdEntities<RoutedService>
Interface for wrapper container class around RoutedModeServices for a particular mode. This container is used to store instances of a routed service for a given mode- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RoutedModeServicesdeepClone()Deep clone implementationRoutedModeServicesdeepCloneWithMapping(BiConsumer<RoutedService,RoutedService> mapper)Deep clone implementation where the mapping for its internal copies is captured by the provided mapperRoutedServiceFactorygetFactory()Factory to create instance of managed id entity (for this container class)ModegetMode()The supported mode for the routed services registeredRoutedModeServicesshallowClone()Shallow clone implementation-
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, groupBy, recreateIds, recreateIds, reset, streamSortedBy
-
Methods inherited from interface org.goplanit.utils.wrapper.MapWrapper
addAll, clear, containsValue, firstMatch, forEachIn, get, getFirst, getKeyByValue, isEmpty, register, remove, removeAll, removeIf, size, stream, streamSorted, toCollection, toMap, valuesAsNewSet
-
-
-
-
Method Detail
-
getMode
Mode getMode()
The supported mode for the routed services registered- Returns:
- supported mode
-
shallowClone
RoutedModeServices shallowClone()
Shallow clone implementation- Specified by:
shallowClonein interfaceManagedIdEntities<RoutedService>- Specified by:
shallowClonein interfaceMapWrapper<Long,RoutedService>- Returns:
- clone of entities
-
deepClone
RoutedModeServices deepClone()
Deep clone implementation- Specified by:
deepClonein interfaceManagedIdEntities<RoutedService>- Returns:
- deep copy of entities
-
deepCloneWithMapping
RoutedModeServices deepCloneWithMapping(BiConsumer<RoutedService,RoutedService> mapper)
Deep clone implementation where the mapping for its internal copies is captured by the provided mapper- Specified by:
deepCloneWithMappingin interfaceManagedIdEntities<RoutedService>- Parameters:
mapper- to apply to each mapping between original and copy- Returns:
- copy
-
getFactory
RoutedServiceFactory getFactory()
Factory to create instance of managed id entity (for this container class)- Specified by:
getFactoryin interfaceManagedIdEntities<RoutedService>- Returns:
- entity factory
-
-