Retrieves the locale associated with the business object.
Syntax
public String getLocale();
Parameters
None.
Return values
The String that contains the name of the locale associated with the current business object.
Exceptions
None.
Notes
The getLocale() method returns the business-object locale, which 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