org.squashtest.csp.tm.domain.library.structures
Class GraphNode<T extends GraphNode<T>>

java.lang.Object
  extended by org.squashtest.csp.tm.domain.library.structures.GraphNode<T>

public class GraphNode<T extends GraphNode<T>>
extends Object


Constructor Summary
GraphNode()
           
GraphNode(Long key)
           
 
Method Summary
 void addChild(T child)
           
 void addParent(T parent)
           
 List<T> getChildren()
           
 LibraryGraph<T> getGraph()
           
 Long getKey()
           
 List<T> getParents()
           
 void setGraph(LibraryGraph<T> graph)
           
 void setKey(Long key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphNode

public GraphNode()

GraphNode

public GraphNode(Long key)
Method Detail

getParents

public List<T> getParents()

getChildren

public List<T> getChildren()

addParent

public void addParent(T parent)

addChild

public void addChild(T child)

getKey

public Long getKey()

setKey

public void setKey(Long key)

getGraph

public LibraryGraph<T> getGraph()

setGraph

public void setGraph(LibraryGraph<T> graph)


Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.