All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.Lexical.Metaphrase.Partition

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

public class Partition
extends java.lang.Object
Metaphrase partition class. A partition is a collection of meanings identified in a Source. Typically has a (String) code given by the source.

Version:
Authority1.1, 11 Apr 2000

Method Index

 o atoms()
Return Atom's in the Partition.
 o children()
Return children of Partition in hierarchy(s).
 o code()
The code which names the Partition in source.
 o concept()
Return closest Concept to Partition.
 o hierarchicalElements()
Return the HierachicalElement's in the Partition (the places in the hierarchy(s) where code appears).
 o metaphrase()
Metaphrase to which Partition belongs.
 o parents()
Return parent(s) of Partition in hierarchy(s).
 o Print(PrintStream)
Prints the contents of Partition to out.
 o siblings()
Return siblings of Partition in hierarchy(s).
 o source()
The source from which Partition is taken.
 o toString()
String encoding of Partition.

Method Detail

 o metaphrase
public Metaphrase metaphrase()
          Metaphrase to which Partition belongs.
 o source
public Source source()
          The source from which Partition is taken.
 o code
public java.lang.String code()
          The code which names the Partition in source.
 o hierarchicalElements
public HierarchicalElement[] hierarchicalElements() throws MetaphraseException
          Return the HierachicalElement's in the Partition (the places in the hierarchy(s) where code appears).
Throws:
MetaphraseException - thrown in case of error accessing Metaphrase.
 o atoms
public Atom[] atoms() throws MetaphraseException
          Return Atom's in the Partition.
Throws:
MetaphraseException - thrown in case of error accessing Metaphrase.
 o concept
public Concept concept() throws MetaphraseException
          Return closest Concept to Partition. If atoms().length>0, returns atoms()[0].concept(). May return null otherwise.
Throws:
MetaphraseException - thrown in case of error accessing Metaphrase.
 o parents
public Partition[] parents() throws MetaphraseException
          Return parent(s) of Partition in hierarchy(s).
Throws:
MetaphraseException - thrown in case of error accessing Metaphrase.
 o children
public Partition[] children() throws MetaphraseException
          Return children of Partition in hierarchy(s).
Throws:
MetaphraseException - thrown in case of error accessing Metaphrase.
 o siblings
public Partition[] siblings() throws MetaphraseException
          Return siblings of Partition in hierarchy(s).
Throws:
MetaphraseException - thrown in case of error accessing Metaphrase.
 o toString
public java.lang.String toString()
          String encoding of Partition.
Overrides:
toString in class java.lang.Object
 o Print
public void Print(java.io.PrintStream out)
          Prints the contents of Partition to out.

All Packages  Class Hierarchy  This Package  Previous  Next  Index