Package org.goplanit.zoning
Class TransferZoneGroupFactoryImpl
- java.lang.Object
-
- org.goplanit.utils.id.ManagedIdEntityFactoryImpl<TransferZoneGroup>
-
- org.goplanit.zoning.TransferZoneGroupFactoryImpl
-
- All Implemented Interfaces:
ManagedIdEntityFactory<TransferZoneGroup>
,TransferZoneGroupFactory
public class TransferZoneGroupFactoryImpl extends ManagedIdEntityFactoryImpl<TransferZoneGroup> implements TransferZoneGroupFactory
Factory for creating transfer zone groups (on container)- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description protected TransferZoneGroups
transferZoneGroups
container to use-
Fields inherited from class org.goplanit.utils.id.ManagedIdEntityFactoryImpl
groupIdToken
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TransferZoneGroupFactoryImpl(IdGroupingToken groupId, TransferZoneGroups transferZoneGroups)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransferZoneGroup
createNew()
create a new transferZoneGroup without registering it yetTransferZoneGroup
registerNew()
create and register a new transferZoneGroup-
Methods inherited from class org.goplanit.utils.id.ManagedIdEntityFactoryImpl
createUniqueDeepCopyOf, createUniqueShallowCopyOf, getIdGroupingToken, setIdGroupingToken
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.goplanit.utils.id.ManagedIdEntityFactory
createUniqueDeepCopyOf, createUniqueShallowCopyOf, getIdGroupingToken, setIdGroupingToken
-
-
-
-
Field Detail
-
transferZoneGroups
protected final TransferZoneGroups transferZoneGroups
container to use
-
-
Constructor Detail
-
TransferZoneGroupFactoryImpl
protected TransferZoneGroupFactoryImpl(IdGroupingToken groupId, TransferZoneGroups transferZoneGroups)
Constructor- Parameters:
groupId
- to usetransferZoneGroups
- to use
-
-
Method Detail
-
registerNew
public TransferZoneGroup registerNew()
create and register a new transferZoneGroup- Specified by:
registerNew
in interfaceTransferZoneGroupFactory
- Returns:
- newly created transfer zone group
-
createNew
public TransferZoneGroup createNew()
create a new transferZoneGroup without registering it yet- Specified by:
createNew
in interfaceTransferZoneGroupFactory
- Returns:
- newly created transfer zone group
-
-