gov.nih.nci.lexbig.ext
Class TreeNode

java.lang.Object
  extended by gov.nih.nci.lexbig.ext.TreeNode
All Implemented Interfaces:
java.io.Serializable

public class TreeNode
extends java.lang.Object
implements java.io.Serializable

TreeNode

Since:
DLBExt 1.0
Version:
DLBExt 1.0
Author:
Northrop Grumman Information Technology
See Also:
Serialized Form

Constructor Summary
TreeNode()
          a default constructor
 
Method Summary
 void addLink(java.lang.String rolename)
          Adds a role name to links Sets value to link
 CodedEntry getConcept()
          Gets the instance of CodedEntry.
 boolean getIsA()
          Gets isA
 java.util.HashSet getLinks()
          Gets link
 java.lang.String getName()
          Gets name
 boolean getTraverseDown()
          Gets traverseDown
 void setConcept(CodedEntry ce)
          Sets concept to a given instance of CodedEntry.
 void setIsA(boolean isA)
          Assigns a value to Sets value to isA
 void setLinks(java.util.HashSet links)
          Assign value to links
 void setName(java.lang.String name)
          Assigns a value to name
 void setTraverseDown(boolean traverseDown)
          Assigns a value to traverseDown
 java.lang.String toString()
          Gets the name of the TreeNode instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TreeNode

public TreeNode()
a default constructor

Since:
DLBExt 1.0
Method Detail

setName

public void setName(java.lang.String name)
Assigns a value to name

Parameters:
name - node name
Since:
DLBExt 1.0

addLink

public void addLink(java.lang.String rolename)
Adds a role name to links Sets value to link

Parameters:
rolename - a role name
Since:
DLBExt 1.0

setLinks

public void setLinks(java.util.HashSet links)
Assign value to links

Parameters:
links - an HashSet instance
Since:
DLBExt 1.0

setIsA

public void setIsA(boolean isA)
Assigns a value to Sets value to isA

Parameters:
isA - a boolean variable (true, if the isA relationship is included; false, otherwise)
Since:
DLBExt 1.0

setTraverseDown

public void setTraverseDown(boolean traverseDown)
Assigns a value to traverseDown

Parameters:
traverseDown - a boolean variable, set to true if traverse down; false, if traverse up
Since:
DLBExt 1.0

getName

public java.lang.String getName()
Gets name

Returns:
return the textual presentation of the coded entry (preferred, if it exists)
Since:
DLBExt 1.0

getLinks

public java.util.HashSet getLinks()
Gets link

Returns:
link
Since:
DLBExt 1.0

getIsA

public boolean getIsA()
Gets isA

Returns:
isA
Since:
DLBExt 1.0

getTraverseDown

public boolean getTraverseDown()
Gets traverseDown

Returns:
traverseDown
Since:
DLBExt 1.0

setConcept

public void setConcept(CodedEntry ce)
Sets concept to a given instance of CodedEntry.

Parameters:
ce - an instance of CodedEntry
Since:
DLBExt 1.0

getConcept

public CodedEntry getConcept()
Gets the instance of CodedEntry.

Returns:
The instance of CodedEntry

toString

public java.lang.String toString()
Gets the name of the TreeNode instance.

Overrides:
toString in class java.lang.Object
Returns:
The name of the TreeNode instance.


Copyright © 2007 National Cancer Institute (NCI). All Rights Reserved.