edu.brandeis.cs.steele.wn
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.

Author:
Oliver Steele, steele@cs.brandeis.edu
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.
 java.util.List<Pointer> getPointersList()
          Return the outgoing Pointers from the target -- those Pointers that have this object as their source.
 java.util.List<Pointer> getPointersList(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.
 java.util.List<PointerTarget> getTargetsList()
          Return the targets of the outgoing Pointers.
 java.util.List<PointerTarget> getTargetsList(PointerType type)
          Return the targets of the outgoing Pointers that have type type.
 

Method Detail

getPOS

POS getPOS()

getDescription

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

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

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


getPointers

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


getTargets

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


getTargets

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


getPointersList

java.util.List<Pointer> getPointersList()
Return the outgoing Pointers from the target -- those Pointers that have this object as their source.


getPointersList

java.util.List<Pointer> getPointersList(PointerType type)
Return the outgoing Pointers of type type.


getTargetsList

java.util.List<PointerTarget> getTargetsList()
Return the targets of the outgoing Pointers.


getTargetsList

java.util.List<PointerTarget> getTargetsList(PointerType type)
Return the targets of the outgoing Pointers that have type type.