org.keridwen.core.i18n.entry
Class AbstractEntry<Type>

java.lang.Object
  extended by org.keridwen.core.i18n.entry.AbstractEntry<Type>
All Implemented Interfaces:
DictionaryEntry<Type>

public class AbstractEntry<Type>
extends Object
implements DictionaryEntry<Type>


Constructor Summary
AbstractEntry(String aKey, Type aValue)
           
 
Method Summary
 String getDefaultString()
          Gets the localized string associated with the dictionary entry for the default locale.
 String getKey()
          Gets the key of the dictionary entry.
 Type getLocalized()
          Gets the localized data associated with the dictionary entry.
 String getString()
          Gets the localized string associated with the dictionary entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractEntry

public AbstractEntry(String aKey,
                     Type aValue)
Method Detail

getKey

public String getKey()
Description copied from interface: DictionaryEntry
Gets the key of the dictionary entry.

Specified by:
getKey in interface DictionaryEntry<Type>
Returns:
the dictionary entry key

getDefaultString

public String getDefaultString()
Description copied from interface: DictionaryEntry
Gets the localized string associated with the dictionary entry for the default locale.

Specified by:
getDefaultString in interface DictionaryEntry<Type>
Returns:
the localized string

getString

public String getString()
Description copied from interface: DictionaryEntry
Gets the localized string associated with the dictionary entry.

Specified by:
getString in interface DictionaryEntry<Type>
Returns:
the localized string

getLocalized

public Type getLocalized()
Description copied from interface: DictionaryEntry
Gets the localized data associated with the dictionary entry.

Specified by:
getLocalized in interface DictionaryEntry<Type>
Returns:
the localized data


Copyright © 2011-2013 Artenum. All Rights Reserved.