org.zeroexchange.model.dictionary
Class DictionaryItem

java.lang.Object
  extended by org.zeroexchange.model.Persistent
      extended by org.zeroexchange.model.IntegerPKPersistent
          extended by org.zeroexchange.model.dictionary.DictionaryItem
All Implemented Interfaces:
Serializable, TitlesAware<DictionaryItem,DictionaryItemStrings>, Identifiable<Integer>
Direct Known Subclasses:
StringDictionaryItem

@Entity
public class DictionaryItem
extends IntegerPKPersistent
implements TitlesAware<DictionaryItem,DictionaryItemStrings>

The entity holds dictionary item.

Author:
black
See Also:
Serialized Form

Field Summary
static String FIELD_DICTIONARY
           
 
Fields inherited from interface org.zeroexchange.model.i18n.TitlesAware
FIELD_TITLES
 
Fields inherited from interface org.zeroexchange.model.Identifiable
FIELD_ID
 
Constructor Summary
DictionaryItem()
           
 
Method Summary
 Dictionary getDictionary()
           
 DictionaryItem getParent()
           
 DictionaryItemStrings getTitles()
          Gets the titles.
 void setDictionary(Dictionary dictionary)
           
 void setParent(DictionaryItem parent)
           
 void setTitles(DictionaryItemStrings titles)
           
 
Methods inherited from class org.zeroexchange.model.IntegerPKPersistent
equals, getId, hashCode, setId
 
Methods inherited from class org.zeroexchange.model.Persistent
getTransientValues
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIELD_DICTIONARY

public static final String FIELD_DICTIONARY
See Also:
Constant Field Values
Constructor Detail

DictionaryItem

public DictionaryItem()
Method Detail

getDictionary

public Dictionary getDictionary()

setDictionary

public void setDictionary(Dictionary dictionary)

getParent

public DictionaryItem getParent()

setParent

public void setParent(DictionaryItem parent)

getTitles

public DictionaryItemStrings getTitles()
Gets the titles.

Specified by:
getTitles in interface TitlesAware<DictionaryItem,DictionaryItemStrings>

setTitles

public void setTitles(DictionaryItemStrings titles)


Copyright © 2013. All Rights Reserved.