Sets the locale for the business object.
Syntax
public void setLocale(Locale localeObj); public void setLocale(String localeName);
Parameters
Return values
None.
Exceptions
Notes
The setLocale() method sets the business-object locale, which identifies the locale that is associated with the business object. This locale indicates the language and code encoding associated with the data in the business object, not with the name of the business object definition or its attributes (which must be characters in the code set associated with the U.S. English locale, en_US). If the business object does not have a locale associated with it, the connector framework assigns the connector-framework locale as the business-object locale.
See also