org.squashtest.csp.tm.domain.library.structures
Class LibraryTree.TreeNodePair
java.lang.Object
org.squashtest.csp.tm.domain.library.structures.LibraryTree.TreeNodePair
- Enclosing class:
- LibraryTree<T extends TreeNode<T>>
public class LibraryTree.TreeNodePair
- extends Object
A TreeNodePair is a scaffolding class which is mainly used when initializing a tree. It simply pairs a child treeNode with the key of its parent. A child node having a null parent
will be considered as a root node.
- Author:
- bsiri
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LibraryTree.TreeNodePair
public LibraryTree.TreeNodePair()
LibraryTree.TreeNodePair
public LibraryTree.TreeNodePair(Long parentKey,
T child)
getParentKey
public Long getParentKey()
setParentKey
public void setParentKey(Long parentKey)
getChild
public T getChild()
setChild
public void setChild(T child)
Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.