|
Traceability | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.topcased.traceability.hmi.util.Tree
public class Tree
Created on 21 f�vr. 07
| Constructor Summary | |
|---|---|
Tree()
Default constructor |
|
| Method Summary | |
|---|---|
void |
addBranch(java.util.List<java.lang.Object> branch)
Add to the tree a branch. |
void |
addNode(java.lang.Object parent,
java.lang.Object child)
Add to the tree under the given parent object, a given child |
void |
addRoots(java.util.List<java.lang.Object> roots)
Add to the tree some roots |
boolean |
contains(java.lang.Object object)
Return true if the given object belongs to this tree |
java.lang.Object[] |
getChildren(java.lang.Object parent)
Get the children of the given object |
java.lang.Object |
getParent(java.lang.Object object)
Return the model object parent of the given object |
java.lang.Object[] |
getRoots()
Get the roots of the tree |
java.util.List<java.lang.Object> |
listChildren(java.lang.Object parent)
Get the children of the given object |
void |
putRootAsParent(CoverPoint newRoot,
java.util.List oldRoots)
Insert a cover point node as a root node, parent of its document node. |
void |
removeNode(java.lang.Object parent,
java.lang.Object child)
|
void |
removeNodes(java.lang.Object parent)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Tree()
| Method Detail |
|---|
public void addRoots(java.util.List<java.lang.Object> roots)
roots - public void addBranch(java.util.List<java.lang.Object> branch)
branch -
public void addNode(java.lang.Object parent,
java.lang.Object child)
parent - child -
public void removeNode(java.lang.Object parent,
java.lang.Object child)
public void removeNodes(java.lang.Object parent)
public boolean contains(java.lang.Object object)
object -
public java.lang.Object getParent(java.lang.Object object)
object -
public java.lang.Object[] getRoots()
public java.lang.Object[] getChildren(java.lang.Object parent)
parent -
public java.util.List<java.lang.Object> listChildren(java.lang.Object parent)
parent -
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
public void putRootAsParent(CoverPoint newRoot,
java.util.List oldRoots)
|
Traceability | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.