Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.4.0)

E10653-05

oracle.jbo.common
Class DefLocaleContext

java.lang.Object
  extended by oracle.jbo.common.DefLocaleContext
All Implemented Interfaces:
LocaleContext

public class DefLocaleContext
extends java.lang.Object
implements LocaleContext


Constructor Summary
DefLocaleContext()
           
DefLocaleContext(java.util.Locale locale)
          Constructor
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 ExprValueSupplier getExprValueSupplier()
           
static DefLocaleContext getInstance()
           
 java.lang.String getISO3Language()
           
 java.util.Locale getLocale()
          Retrieves the Locale.
 java.lang.String getLocaleName(java.lang.String name)
           
 java.util.TimeZone getUserTimeZone()
          If configured in adf config, this method retrieves the the user's timezone preference.
 void setExprValueSupplier(ExprValueSupplier source)
          Usages need to ensure that this value is cleaned out before or set to right expr valuesupplier before making use of the context.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefLocaleContext

public DefLocaleContext(java.util.Locale locale)
Constructor


DefLocaleContext

public DefLocaleContext()
Method Detail

getInstance

public static DefLocaleContext getInstance()

getLocale

public java.util.Locale getLocale()
Description copied from interface: LocaleContext
Retrieves the Locale. In order to change the Locale, you must initialize it via the ApplicationModule.getSession().setLocale()

Specified by:
getLocale in interface LocaleContext

getISO3Language

public java.lang.String getISO3Language()

getUserTimeZone

public java.util.TimeZone getUserTimeZone()
Description copied from interface: LocaleContext
If configured in adf config, this method retrieves the the user's timezone preference.

Specified by:
getUserTimeZone in interface LocaleContext

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getLocaleName

public java.lang.String getLocaleName(java.lang.String name)

setExprValueSupplier

public void setExprValueSupplier(ExprValueSupplier source)
Usages need to ensure that this value is cleaned out before or set to right expr valuesupplier before making use of the context.


getExprValueSupplier

public ExprValueSupplier getExprValueSupplier()

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.4.0)

E10653-05

Copyright © 1997, 2011, Oracle. All rights reserved.