edu.gwu.wordnet
Interface PointerTarget

All Known Implementing Classes:
Synset, Word

public interface PointerTarget

A PointerTarget is the source or target of a Pointer. The target of a semantic PointerTarget is a Synset; the target of a lexical PointerTarget is a Word.

See Also:
Pointer, Synset, Word

Method Summary
 java.lang.String getDescription()
          Return a description of the target.
 java.lang.String getLongDescription()
          Return the long description of the target.
 Pointer[] getPointers()
          Return the outgoing Pointers from the target -- those Pointers that have this object as their source.
 Pointer[] getPointers(PointerType type)
          Return the outgoing Pointers of type type.
 POS getPOS()
           
 PointerTarget[] getTargets()
          Return the targets of the outgoing Pointers.
 PointerTarget[] getTargets(PointerType type)
          Return the targets of the outgoing Pointers that have type type.
 

Method Detail

getPOS

public POS getPOS()

getDescription

public java.lang.String getDescription()
Return a description of the target. For a Word, this is it's lemma; for a Synset, it's the concatenated lemma's of its Words.


getLongDescription

public java.lang.String getLongDescription()
Return the long description of the target. This is its description, appended by, if it exists, a dash and it's gloss.


getPointers

public Pointer[] getPointers()
Return the outgoing Pointers from the target -- those Pointers that have this object as their source.


getPointers

public Pointer[] getPointers(PointerType type)
Return the outgoing Pointers of type type.


getTargets

public PointerTarget[] getTargets()
Return the targets of the outgoing Pointers.


getTargets

public PointerTarget[] getTargets(PointerType type)
Return the targets of the outgoing Pointers that have type type.