Package org.goplanit.service.routed
Class RoutedServicesLayersImpl
- java.lang.Object
-
- org.goplanit.utils.wrapper.MapWrapperImpl<Long,V>
-
- org.goplanit.utils.wrapper.LongMapWrapperImpl<E>
-
- org.goplanit.utils.id.ManagedIdEntitiesImpl<RoutedServicesLayer>
-
- org.goplanit.service.routed.RoutedServicesLayersImpl
-
- All Implemented Interfaces:
Cloneable
,Iterable<RoutedServicesLayer>
,RoutedServicesLayers
,ManagedIdEntities<RoutedServicesLayer>
,LongMapWrapper<RoutedServicesLayer>
,MapWrapper<Long,RoutedServicesLayer>
public class RoutedServicesLayersImpl extends ManagedIdEntitiesImpl<RoutedServicesLayer> implements RoutedServicesLayers
Implementation of the RoutedServicesLayers interface.- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description protected RoutedServicesLayerFactory
factory
factory for this container class-
Fields inherited from class org.goplanit.utils.id.ManagedIdEntitiesImpl
managedIdClass
-
-
Constructor Summary
Constructors Modifier Constructor Description RoutedServicesLayersImpl(RoutedServicesLayersImpl routedServicesLayersImpl)
Copy constructorprotected
RoutedServicesLayersImpl(IdGroupingToken tokenId)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RoutedServicesLayersImpl
clone()
Each map wrapper should be cloneable where the contents are references of the original where possible but the underlying map itself is newly createdRoutedServicesLayerFactory
getFactory()
Factory to create instance of managed id entity (for this container class)-
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
-
-
-
-
Field Detail
-
factory
protected final RoutedServicesLayerFactory factory
factory for this container class
-
-
Constructor Detail
-
RoutedServicesLayersImpl
protected RoutedServicesLayersImpl(IdGroupingToken tokenId)
Constructor- Parameters:
tokenId
- to use
-
RoutedServicesLayersImpl
public RoutedServicesLayersImpl(RoutedServicesLayersImpl routedServicesLayersImpl)
Copy constructor- Parameters:
routedServicesLayersImpl
- to copy
-
-
Method Detail
-
clone
public RoutedServicesLayersImpl 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:
clone
in interfaceManagedIdEntities<RoutedServicesLayer>
- Specified by:
clone
in interfaceMapWrapper<Long,RoutedServicesLayer>
- Specified by:
clone
in interfaceRoutedServicesLayers
- Specified by:
clone
in classManagedIdEntitiesImpl<RoutedServicesLayer>
- Returns:
- copy
-
getFactory
public RoutedServicesLayerFactory getFactory()
Factory to create instance of managed id entity (for this container class)- Specified by:
getFactory
in interfaceManagedIdEntities<RoutedServicesLayer>
- Specified by:
getFactory
in interfaceRoutedServicesLayers
- Returns:
- entity factory
-
-