Package org.goplanit.utils.zoning
Interface TransferZoneGroups
-
- All Superinterfaces:
EventListener
,EventListener
,Iterable<TransferZoneGroup>
,LongMapWrapper<TransferZoneGroup>
,ManagedIdEntities<TransferZoneGroup>
,MapWrapper<Long,TransferZoneGroup>
,ZoningModifierListener
- All Known Implementing Classes:
TransferZoneGroupsImpl
public interface TransferZoneGroups extends ManagedIdEntities<TransferZoneGroup>, ZoningModifierListener
A Container for transfer zone groups which also acts as a factory for creating new transfer zone groups- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TransferZoneGroups
deepClone()
Deep clone implementationTransferZoneGroups
deepCloneWithMapping(BiConsumer<TransferZoneGroup,TransferZoneGroup> mapper)
Deep clone implementation where the mapping for its internal copies is captured by the provided mapperTransferZoneGroupFactory
getFactory()
Factory to create instance of managed id entity (for this container class)TransferZoneGroups
shallowClone()
Shallow clone implementation-
Methods inherited from interface org.goplanit.utils.event.EventListener
getKnownSupportedEventTypes, hasKnownSupportedEventTypes
-
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
-
Methods inherited from interface org.goplanit.utils.zoning.modifier.event.ZoningModifierListener
onZoningModifierEvent
-
-
-
-
Method Detail
-
getFactory
TransferZoneGroupFactory getFactory()
Factory to create instance of managed id entity (for this container class)- Specified by:
getFactory
in interfaceManagedIdEntities<TransferZoneGroup>
- Returns:
- entity factory
-
shallowClone
TransferZoneGroups shallowClone()
Shallow clone implementation- Specified by:
shallowClone
in interfaceManagedIdEntities<TransferZoneGroup>
- Specified by:
shallowClone
in interfaceMapWrapper<Long,TransferZoneGroup>
- Returns:
- clone of entities
-
deepClone
TransferZoneGroups deepClone()
Deep clone implementation- Specified by:
deepClone
in interfaceManagedIdEntities<TransferZoneGroup>
- Returns:
- deep copy of entities
-
deepCloneWithMapping
TransferZoneGroups deepCloneWithMapping(BiConsumer<TransferZoneGroup,TransferZoneGroup> mapper)
Deep clone implementation where the mapping for its internal copies is captured by the provided mapper- Specified by:
deepCloneWithMapping
in interfaceManagedIdEntities<TransferZoneGroup>
- Parameters:
mapper
- to apply to each mapping between original and copy- Returns:
- copy
-
-