org.kuali.student.r2.common.dto
Class LocaleInfo

java.lang.Object
  extended by org.kuali.student.r2.common.dto.LocaleInfo
All Implemented Interfaces:
Serializable, Locale

public class LocaleInfo
extends Object
implements Locale, Serializable

Information about Locale for Context.

Author:
Sri komandur@uw.edu
See Also:
Serialized Form

Constructor Summary
LocaleInfo()
          Constructs a new LocaleInfo.
LocaleInfo(Locale locale)
          Constructs a new LocaleInfo from another Locale.
 
Method Summary
 String getLocaleLanguage()
          The language portion of the locale information used in this context.
 String getLocaleRegion()
          The language Region portion of the locale information to be used in this context.
 String getLocaleScript()
          The language Script to be used in this context.
 String getLocaleVariant()
          The language variant portion of the locale information to be used in this context .
 void setLocaleLanguage(String localeLanguage)
           
 void setLocaleRegion(String localeRegion)
           
 void setLocaleScript(String localeScript)
           
 void setLocaleVariant(String localeVariant)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocaleInfo

public LocaleInfo()
Constructs a new LocaleInfo.


LocaleInfo

public LocaleInfo(Locale locale)
Constructs a new LocaleInfo from another Locale.

Parameters:
locale - the locale to copy
Method Detail

getLocaleLanguage

public String getLocaleLanguage()
Description copied from interface: Locale
The language portion of the locale information used in this context.

Specified by:
getLocaleLanguage in interface Locale

setLocaleLanguage

public void setLocaleLanguage(String localeLanguage)

getLocaleVariant

public String getLocaleVariant()
Description copied from interface: Locale
The language variant portion of the locale information to be used in this context .

Specified by:
getLocaleVariant in interface Locale

setLocaleVariant

public void setLocaleVariant(String localeVariant)

getLocaleRegion

public String getLocaleRegion()
Description copied from interface: Locale
The language Region portion of the locale information to be used in this context.

Specified by:
getLocaleRegion in interface Locale

setLocaleRegion

public void setLocaleRegion(String localeRegion)

getLocaleScript

public String getLocaleScript()
Description copied from interface: Locale
The language Script to be used in this context.

Specified by:
getLocaleScript in interface Locale

setLocaleScript

public void setLocaleScript(String localeScript)


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.