All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.Lexical.Metaphrase.HierarchicalElement

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

public class HierarchicalElement
extends java.lang.Object
Metaphrase hierarchical element class. Represents a place in a source hierarchy.

Version:
Authority1.1, 11 Apr 2000

Method Index

 o ancestors()
The ancestors of this HierarchicalElement.
 o children()
The children of this HierarchicalElement.
 o concept()
The associated Concept (may be null).
 o hasChildren()
The hasChildren attribute.
 o hcode()
The hierarchical code.
 o name()
The name which appears in the hierarchy.
 o parent()
The parent of this HierarchicalElement.
 o partition()
The associated Partition (may be null).
 o Print(PrintStream)
Prints the contents of HierarchicalElement to out.
 o rela()
The relationship attribute describing the relationship of the member to its parent.
 o siblings()
The siblings of this HierarchicalElement.

Method Detail

 o partition
public Partition partition()
          The associated Partition (may be null).
 o concept
public Concept concept()
          The associated Concept (may be null).
 o hcode
public java.lang.String hcode()
          The hierarchical code. Not present in all sources.
 o name
public java.lang.String name()
          The name which appears in the hierarchy.
 o ancestors
public HierarchicalElement[] ancestors()
          The ancestors of this HierarchicalElement. May be empty (iff this HierarchicalElement is a root).
 o parent
public HierarchicalElement parent()
          The parent of this HierarchicalElement. May be null (iff this HierarchicalElement is a root).
 o children
public HierarchicalElement[] children() throws MetaphraseException
          The children of this HierarchicalElement. May be empty.
Throws:
MetaphraseException - thrown if there is an error accessing Metaphrase. MetaphraseUnimplemented may be thrown if hcode() == null.
 o siblings
public HierarchicalElement[] siblings() throws MetaphraseException
          The siblings of this HierarchicalElement. May be empty.
Throws:
MetaphraseException - thrown if there is an error accessing Metaphrase.
 o rela
public java.lang.String rela()
          The relationship attribute describing the relationship of the member to its parent. Not always specified.
See Also:
rela
 o hasChildren
public boolean hasChildren()
          The hasChildren attribute.
 o Print
public void Print(java.io.PrintStream out)
          Prints the contents of HierarchicalElement to out.

All Packages  Class Hierarchy  This Package  Previous  Next  Index