Liferay 7.0-ce-m3

com.liferay.portlet.dynamicdatamapping.model
Class UnlocalizedValue

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

public class UnlocalizedValue
extends Object
implements Value

See Also:
Serialized Form

Constructor Summary
UnlocalizedValue(String value)
           
 
Method Summary
 void addString(Locale locale, String value)
           
 Set<Locale> getAvailableLocales()
           
 Locale getDefaultLocale()
           
 String getString(Locale locale)
           
 Map<Locale,String> getValues()
           
 boolean isLocalized()
           
 void setDefaultLocale(Locale defaultLocale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnlocalizedValue

public UnlocalizedValue(String value)
Method Detail

addString

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

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

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-m3