Class LanguageDelegateDS
java.lang.Object
com.aquima.interactions.foundation.report.ReportingDelegateDS
com.aquima.interactions.project.ds.delegate.LanguageDelegateDS
- All Implemented Interfaces:
IReportingDS
,ILanguageDS
- Direct Known Subclasses:
ConfigLanguageDS
,ConfigLanguageDS
Delegate datasource for easy datasource extension. All method calls are delegated to the delegate datasource without
adding any functionality.
- Since:
- 8.0
- Author:
- Jon van Leuven
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCode()
Returns the (unique) code of the language, which can be in the form of a language-country code specification.getFormatName
(DataType type) This method should return the name of the value format that should be used to convert values of the specified type for this language.getName()
Returns a (unique) name for the specified language.Methods inherited from class com.aquima.interactions.foundation.report.ReportingDelegateDS
addMessage
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aquima.interactions.foundation.report.IReportingDS
addMessage
-
Constructor Details
-
LanguageDelegateDS
-
-
Method Details
-
getCode
Description copied from interface:ILanguageDS
Returns the (unique) code of the language, which can be in the form of a language-country code specification. The country code specification is optional which renders a "en-GB" as a valid locale code. If one requires a specific language and country combination en-GB can be used.The language code comes from iso-639 table
The country code comes from iso-3166 table
- Specified by:
getCode
in interfaceILanguageDS
- Returns:
- The code string, which should never be null
-
getFormatName
Description copied from interface:ILanguageDS
This method should return the name of the value format that should be used to convert values of the specified type for this language.- Specified by:
getFormatName
in interfaceILanguageDS
- Parameters:
type
- The type of the values for which the format name is requested.- Returns:
- The name of the value format that should be used.
-
getName
Description copied from interface:ILanguageDS
Returns a (unique) name for the specified language.- Specified by:
getName
in interfaceILanguageDS
- Returns:
- A name which should be unique for the application and never be null or zero-length.
-