net.sf.extjwnl.data
Interface DictionaryElement

All Superinterfaces:
Owned, Serializable
All Known Implementing Classes:
BaseDictionaryElement, Exc, IndexWord, Synset

public interface DictionaryElement
extends Serializable, Owned

Any class that represents an element contained in the dictionary (IndexWords, Synsets, and Exceptions) must implement this interface.

Author:
John Didion , Aliaksandr Autayeu

Method Summary
 Object getKey()
          Returns a key that can be used to index this element.
 POS getPOS()
          Returns element's part of speech.
 DictionaryElementType getType()
          Returns the element's type.
 
Methods inherited from interface net.sf.extjwnl.util.factory.Owned
getDictionary, setDictionary
 

Method Detail

getKey

Object getKey()
Returns a key that can be used to index this element.

Returns:
a key that can be used to index this element

getType

DictionaryElementType getType()
Returns the element's type.

Returns:
the element's type

getPOS

POS getPOS()
Returns element's part of speech.

Returns:
element's part of speech


Copyright © 2011. All Rights Reserved.