org.zeroexchange.model.i18n
Class LocalizedValue

java.lang.Object
  extended by org.zeroexchange.model.i18n.LocalizedValue
All Implemented Interfaces:
Serializable

public class LocalizedValue
extends Object
implements Serializable

The container holds localized values.

Author:
black
See Also:
Serialized Form

Constructor Summary
LocalizedValue(String value, String language)
          Constructor.
 
Method Summary
 String getLanguage()
           
 String getValue()
           
static boolean isEmpty(List<LocalizedValue> titles, String language)
          Returns true id the specified titles list is empty.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalizedValue

public LocalizedValue(String value,
                      String language)
Constructor.

Method Detail

getValue

public String getValue()
Returns:
the value

getLanguage

public String getLanguage()
Returns:
the language

isEmpty

public static boolean isEmpty(List<LocalizedValue> titles,
                              String language)
Returns true id the specified titles list is empty.



Copyright © 2013. All Rights Reserved.