net.sf.extjwnl.data
Class BaseDictionaryElement

java.lang.Object
  extended by net.sf.extjwnl.data.BaseDictionaryElement
All Implemented Interfaces:
Serializable, DictionaryElement, Owned
Direct Known Subclasses:
Exc, IndexWord

public abstract class BaseDictionaryElement
extends Object
implements DictionaryElement

Base class for dictionary elements.

Author:
Aliaksandr Autayeu
See Also:
Serialized Form

Field Summary
protected  Dictionary dictionary
           
 
Constructor Summary
protected BaseDictionaryElement(Dictionary dictionary)
           
 
Method Summary
 Dictionary getDictionary()
          Returns the dictionary this object belongs to.
 void setDictionary(Dictionary dictionary)
          Sets the dictionary this object belongs to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.extjwnl.data.DictionaryElement
getKey, getPOS, getType
 

Field Detail

dictionary

protected transient Dictionary dictionary
Constructor Detail

BaseDictionaryElement

protected BaseDictionaryElement(Dictionary dictionary)
Method Detail

getDictionary

public Dictionary getDictionary()
Description copied from interface: Owned
Returns the dictionary this object belongs to.

Specified by:
getDictionary in interface Owned
Returns:
the dictionary this object belongs to

setDictionary

public void setDictionary(Dictionary dictionary)
                   throws JWNLException
Description copied from interface: Owned
Sets the dictionary this object belongs to.

Specified by:
setDictionary in interface Owned
Parameters:
dictionary - the dictionary this object belongs to
Throws:
JWNLException - JWNLException


Copyright © 2011. All Rights Reserved.