Class Language
java.lang.Object
com.aquima.interactions.project.impl.Language
- All Implemented Interfaces:
ILanguage
,Serializable
This class holds the static information of a language defined in the meta model.
- Since:
- 5.0
- Author:
- O. Kerpershoek, F. van der Meer
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getCode()
Get the standardized language internationalization code.This method returns the default value formatter of this language.This method retrieves the locale for this language.getName()
Get the language name in a human readable format.int
hashCode()
toString()
-
Constructor Details
-
Language
Create a new Language based on a code and language name. Usually the code will be an ISO code, whereas the name contains a more readable language identification.
For example: new Language( "nl-NL", "Dutch" )- Parameters:
code
- The code of the language (mandatory).languageName
- The name of the language (mandatory).locale
- The locale for the language.formatter
- The default value formatter used to display values for this language.
-
Language
-
-
Method Details
-
getCode
Description copied from interface:ILanguage
Get the standardized language internationalization code. -
getName
Description copied from interface:ILanguage
Get the language name in a human readable format. -
getDefaultFormatter
Description copied from interface:ILanguage
This method returns the default value formatter of this language. The formatter is used to determine the display value of primitive values and during TSL expansion when no specific format is specified.- Specified by:
getDefaultFormatter
in interfaceILanguage
- Returns:
- The default value formatter for this language.
-
getLocale
Description copied from interface:ILanguage
This method retrieves the locale for this language. -
hashCode
public int hashCode() -
equals
-
toString
-