Liferay 7.0-ce-b4

com.liferay.portlet.dynamicdatamapping
Class LocalizedValue

java.lang.Object
  extended by com.liferay.portlet.dynamicdatamapping.LocalizedValue
All Implemented Interfaces:
Value, Serializable

public class LocalizedValue
extends Object
implements Value

See Also:
Serialized Form

Constructor Summary
LocalizedValue()
           
LocalizedValue(Locale defaultLocale)
           
LocalizedValue(LocalizedValue localizedValue)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalizedValue

public LocalizedValue()

LocalizedValue

public LocalizedValue(Locale defaultLocale)

LocalizedValue

public LocalizedValue(LocalizedValue localizedValue)
Method Detail

addString

public void addString(Locale locale,
                      String value)
Specified by:
addString in interface Value

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getAvailableLocales

public Set<Locale> getAvailableLocales()
Specified by:
getAvailableLocales in interface Value

getDefaultLocale

public Locale getDefaultLocale()
Specified by:
getDefaultLocale in interface Value

getString

public String getString(Locale locale)
Specified by:
getString in interface Value

getValues

public Map<Locale,String> getValues()
Specified by:
getValues in interface Value

hashCode

public int hashCode()
Overrides:
hashCode in class Object

isLocalized

public boolean isLocalized()
Specified by:
isLocalized in interface Value

setDefaultLocale

public void setDefaultLocale(Locale defaultLocale)
Specified by:
setDefaultLocale in interface Value

Liferay 7.0-ce-b4