public class LocalizedValue extends Object implements Value
Constructor and Description |
---|
LocalizedValue() |
LocalizedValue(Locale defaultLocale) |
LocalizedValue(LocalizedValue localizedValue) |
Modifier and Type | Method and Description |
---|---|
void |
addString(Locale locale,
String value) |
boolean |
equals(Object obj) |
Set<Locale> |
getAvailableLocales() |
Locale |
getDefaultLocale() |
String |
getString(Locale locale) |
Map<Locale,String> |
getValues() |
int |
hashCode() |
boolean |
isLocalized() |
void |
setDefaultLocale(Locale defaultLocale) |
public LocalizedValue()
public LocalizedValue(Locale defaultLocale)
public LocalizedValue(LocalizedValue localizedValue)
public void addString(Locale locale, String value)
public boolean equals(Object obj)
equals
in class Object
public Set<Locale> getAvailableLocales()
getAvailableLocales
in interface Value
public Locale getDefaultLocale()
getDefaultLocale
in interface Value
public int hashCode()
hashCode
in class Object
public boolean isLocalized()
isLocalized
in interface Value
public void setDefaultLocale(Locale defaultLocale)
setDefaultLocale
in interface Value