Package org.goplanit.graph.directed
Class DirectedVertexFactoryImpl
- java.lang.Object
-
- org.goplanit.utils.id.ManagedIdEntityFactoryImpl<E>
-
- org.goplanit.graph.GraphEntityFactoryImpl<DirectedVertex>
-
- org.goplanit.graph.directed.DirectedVertexFactoryImpl
-
- All Implemented Interfaces:
DirectedVertexFactory,GraphEntityFactory<DirectedVertex>,ManagedIdEntityFactory<DirectedVertex>
public class DirectedVertexFactoryImpl extends GraphEntityFactoryImpl<DirectedVertex> implements DirectedVertexFactory
Factory for creating vertices on vertices container- Author:
- markr
-
-
Field Summary
-
Fields inherited from class org.goplanit.utils.id.ManagedIdEntityFactoryImpl
groupIdToken
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDirectedVertexFactoryImpl(IdGroupingToken groupId, DirectedVertices vertices)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectedVertexcreateNew()Create a new directed vertex (without registering on this class)DirectedVertexregisterNew()Create and register new directed vertex-
Methods inherited from class org.goplanit.graph.GraphEntityFactoryImpl
getGraphEntities
-
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
-
DirectedVertexFactoryImpl
protected DirectedVertexFactoryImpl(IdGroupingToken groupId, DirectedVertices vertices)
Constructor- Parameters:
groupId- to usevertices- to use
-
-
Method Detail
-
createNew
public DirectedVertex createNew()
Create a new directed vertex (without registering on this class)- Specified by:
createNewin interfaceDirectedVertexFactory- Returns:
- created vertex
-
registerNew
public DirectedVertex registerNew()
Create and register new directed vertex- Specified by:
registerNewin interfaceDirectedVertexFactory- Returns:
- new node created
-
-