Package org.goplanit.zoning
Class CentroidFactoryImpl
- java.lang.Object
-
- org.goplanit.utils.id.ManagedIdEntityFactoryImpl<Centroid>
-
- org.goplanit.zoning.CentroidFactoryImpl
-
- All Implemented Interfaces:
ManagedIdEntityFactory<Centroid>
,CentroidFactory
public class CentroidFactoryImpl extends ManagedIdEntityFactoryImpl<Centroid> implements CentroidFactory
Factory for creating centroids- Author:
- markr
-
-
Field Summary
-
Fields inherited from class org.goplanit.utils.id.ManagedIdEntityFactoryImpl
groupIdToken
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CentroidFactoryImpl(IdGroupingToken groupId)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CentroidImpl
create()
Create a new centroidCentroidImpl
create(Zone parentZone)
Create a new centroid-
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
-
-
-
-
Constructor Detail
-
CentroidFactoryImpl
protected CentroidFactoryImpl(IdGroupingToken groupId)
Constructor- Parameters:
groupId
- to use
-
-
Method Detail
-
create
public CentroidImpl create()
Create a new centroid- Specified by:
create
in interfaceCentroidFactory
- Returns:
- the new centroid created
-
create
public CentroidImpl create(Zone parentZone)
Create a new centroid- Specified by:
create
in interfaceCentroidFactory
- Parameters:
parentZone
- to use- Returns:
- the new centroid created
-
-