setLocale()

Sets the locale associated with the business object.

Syntax

void setLocale(const char * localeName);

Parameters

localeName
Is the name of the locale to associate with the current business object. For information on the format of a locale name, see What is a locale?

Return values

None.

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

getLocale()

Copyright IBM Corp. 1997, 2004