Package org.goplanit.graph
Class ConjugateVertexFactoryImpl
- java.lang.Object
-
- org.goplanit.utils.id.ManagedIdEntityFactoryImpl<E>
-
- org.goplanit.graph.GraphEntityFactoryImpl<ConjugateVertex>
-
- org.goplanit.graph.ConjugateVertexFactoryImpl
-
- All Implemented Interfaces:
ConjugateVertexFactory,GraphEntityFactory<ConjugateVertex>,ManagedIdEntityFactory<ConjugateVertex>
public class ConjugateVertexFactoryImpl extends GraphEntityFactoryImpl<ConjugateVertex> implements ConjugateVertexFactory
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 protectedConjugateVertexFactoryImpl(IdGroupingToken groupId, ConjugateVertices conjugateVertices)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConjugateVertexcreateNew(Edge originalEdge)Create a new conjugate vertex (without registering on this class)ConjugateVertexregisterNew(Edge originalEdge)Create and register new conjugate vertex-
Methods inherited from class org.goplanit.graph.GraphEntityFactoryImpl
getGraphEntities, setGraphEntities
-
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
-
ConjugateVertexFactoryImpl
protected ConjugateVertexFactoryImpl(IdGroupingToken groupId, ConjugateVertices conjugateVertices)
Constructor- Parameters:
groupId- to useconjugateVertices- to use
-
-
Method Detail
-
createNew
public ConjugateVertex createNew(Edge originalEdge)
Create a new conjugate vertex (without registering on this class)- Specified by:
createNewin interfaceConjugateVertexFactory- Parameters:
originalEdge- this conjugate will represent- Returns:
- created conjugate vertex
-
registerNew
public ConjugateVertex registerNew(Edge originalEdge)
Create and register new conjugate vertex- Specified by:
registerNewin interfaceConjugateVertexFactory- Parameters:
originalEdge- this conjugate will represent- Returns:
- new conjugate vertex created
-
-