Package org.goplanit.graph
Class GraphEntityFactoryImpl<E extends GraphEntity>
- java.lang.Object
-
- org.goplanit.utils.id.ManagedIdEntityFactoryImpl<E>
-
- org.goplanit.graph.GraphEntityFactoryImpl<E>
-
- Type Parameters:
E- type of graph entity
- All Implemented Interfaces:
GraphEntityFactory<E>,ManagedIdEntityFactory<E>
- Direct Known Subclasses:
ConnectoidEdgeFactoryImpl,ConnectoidSegmentFactoryImpl,DirectedEdgeFactoryImpl,DirectedVertexFactoryImpl,EdgeFactoryImpl,EdgeSegmentFactoryImpl,LinkFactoryImpl,LinkSegmentFactoryImpl,MacroscopicLinkSegmentFactoryImpl,NodeFactoryImpl,ServiceLegFactoryImpl,ServiceLegSegmentFactoryImpl,ServiceNodeFactoryImpl,VertexFactoryImpl
public abstract class GraphEntityFactoryImpl<E extends GraphEntity> extends ManagedIdEntityFactoryImpl<E> implements GraphEntityFactory<E>
Base implementation for creating and registering graph entities on underlying container and conducting changes to ids based on the factory settings for egenrating ids.- Author:
- markr
-
-
Field Summary
-
Fields inherited from class org.goplanit.utils.id.ManagedIdEntityFactoryImpl
groupIdToken
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGraphEntityFactoryImpl(IdGroupingToken groupIdToken, GraphEntities<E> graphEntities)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected GraphEntities<E>getGraphEntities()The entities to register on-
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
-
-
-
-
Constructor Detail
-
GraphEntityFactoryImpl
protected GraphEntityFactoryImpl(IdGroupingToken groupIdToken, GraphEntities<E> graphEntities)
Constructor- Parameters:
groupIdToken- to use for creating element idsgraphEntities- to register the created instances on
-
-
Method Detail
-
getGraphEntities
protected GraphEntities<E> getGraphEntities()
The entities to register on- Returns:
- graphEntities
-
-