Package org.goplanit.zoning
Class OdZoneFactoryImpl
- java.lang.Object
-
- org.goplanit.utils.id.ManagedIdEntityFactoryImpl<Z>
-
- org.goplanit.zoning.ZoneFactoryImpl<OdZone>
-
- org.goplanit.zoning.OdZoneFactoryImpl
-
- All Implemented Interfaces:
ManagedIdEntityFactory<OdZone>
,OdZoneFactory
public class OdZoneFactoryImpl extends ZoneFactoryImpl<OdZone> implements OdZoneFactory
Factory for creating od zones (on container)- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description protected OdZones
odZones
container to use-
Fields inherited from class org.goplanit.zoning.ZoneFactoryImpl
centroidFactory
-
Fields inherited from class org.goplanit.utils.id.ManagedIdEntityFactoryImpl
groupIdToken
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
OdZoneFactoryImpl(IdGroupingToken groupId, OdZones odZones)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OdZone
createNew()
Create a new OD zone without registeringOdZone
registerNew()
Create and register new OD zone-
Methods inherited from class org.goplanit.zoning.ZoneFactoryImpl
getCentroidFactory
-
Methods inherited from class org.goplanit.utils.id.ManagedIdEntityFactoryImpl
createUniqueCopyOf, 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
createUniqueCopyOf, getIdGroupingToken, setIdGroupingToken
-
-
-
-
Field Detail
-
odZones
protected final OdZones odZones
container to use
-
-
Constructor Detail
-
OdZoneFactoryImpl
protected OdZoneFactoryImpl(IdGroupingToken groupId, OdZones odZones)
Constructor- Parameters:
groupId
- to useodZones
- to use
-
-
Method Detail
-
registerNew
public OdZone registerNew()
Create and register new OD zone- Specified by:
registerNew
in interfaceOdZoneFactory
- Returns:
- the new zone created
-
createNew
public OdZone createNew()
Create a new OD zone without registering- Specified by:
createNew
in interfaceOdZoneFactory
- Returns:
- the new zone created
-
-