All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.Lexical.Metaphrase.Relation

java.lang.Object
    |
    +----COM.Lexical.Metaphrase.Relation

public class Relation
extends java.lang.Object
Metaphrase Relation class. The relations are part of the UMLS Semantic Network. Each Relationship in the thesaurus may optionally specify a relationship attribute (rela), which is either a name or an inverse of a Relation.

Version:
Authority1.1, 11 Apr 2000

Method Index

 o addChild(Relation)
 
 o children()
 
 o hasChildren()
 
 o inverse()
The [name of the] Relation inverse.
 o level()
Returns the depth of this Relation in the Relation hierarchy.
 o name()
The name of the Relation.
 o STN()
The Relation Tree Number.
 o toString()
Returns name()
 o TUI()
The Type Unique Identifier of the Relation.

Method Detail

 o TUI
public java.lang.String TUI()
          The Type Unique Identifier of the Relation.
 o name
public java.lang.String name()
          The name of the Relation.
 o STN
public java.lang.String STN()
          The Relation Tree Number.
 o inverse
public java.lang.String inverse()
          The [name of the] Relation inverse.
 o level
public int level()
          Returns the depth of this Relation in the Relation hierarchy. The top level (the one containing isa and associated_with) is numbered 0.
 o hasChildren
public boolean hasChildren()
 o children
public Relation[] children()
 o addChild
public void addChild(Relation child)
 o toString
public java.lang.String toString()
          Returns name()
Overrides:
toString in class java.lang.Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index