public interface LocaleProfile extends OsidProfile
The locale profile describes the interoperability of locale services.
Modifier and Type | Method and Description |
---|---|
TypeList |
getCalendarTypesForFormatting()
Gets all the calendar types for which formats are available.
|
TypeList |
getCalendarTypesForSource(Type sourceCalendarType)
Gets the list of target calendar types for a given source calendar
type.
|
TypeList |
getCalendarTypesForTimeType(Type timeType)
Gets the list of calendar types supported for a given time type where
they are both used in a
DateTime. |
TypeList |
getCoordinateFormatTypesForCoordinateType(Type coordinateType)
Gets the list of coordinate format types for a given coordinate type.
|
TypeList |
getCoordinateTypesForFormatting()
Gets all the coordinate types for which formatting is available.
|
TypeList |
getCoordinateTypesForSource(Type sourceCoordinateType)
Gets the list of target coordinate types for a given source coordinate
type.
|
TypeList |
getCurrencyFormatTypesForCurrencyType(Type currencyType)
Gets the list of currency format types for a given currency type.
|
TypeList |
getCurrencyTypesForFormatting()
Gets all the currency types for which formatting is available.
|
TypeList |
getCurrencyTypesForSource(Type sourceCurrencyType)
Gets the list of target currency types for a given source currency
type.
|
TypeList |
getDateFormatTypesForCalendarType(Type calendarType)
Gets the list of date format types for a given calendar type.
|
TypeList |
getFormatTypesForSource(Type sourceFormatType)
Gets the list of target format types for a given source spatial unit
type.
|
TypeList |
getLanguageTypesForSource(Type sourceLanguageType,
Type sourceScriptType)
Gets the list of target language types for a given source language
type.
|
TypeList |
getNumericFormatTypes()
Gets all the numeric format types supported.
|
TypeList |
getScriptTypesForLanguageType(Type languageType)
Gets the list of script types available for a given language type.
|
TypeList |
getSourceCalendarTypes()
Gets the list of source calendar types.
|
TypeList |
getSourceCoordinateTypes()
Gets the list of source coordinate types.
|
TypeList |
getSourceCurrencyTypes()
Gets the list of source currency types.
|
TypeList |
getSourceFormatTypes()
Gets the list of source format types.
|
TypeList |
getSourceLanguageTypes()
Gets all the source language types supported.
|
TypeList |
getSourceSpatialUnitRecordTypes()
Gets the list of source spatial unit record types.
|
TypeList |
getSourceTimeTypes()
Gets the list of source time types.
|
TypeList |
getSourceUnitTypes()
Gets all the source unit types supported.
|
TypeList |
getSpatialUnitRecordTypesForSource(Type sourceSpatialUnitRecordType)
Gets the list of target spatial unit types for a given source spatial
unit type.
|
TypeList |
getTimeFormatTypesForTimeType(Type timeType)
Gets the list of time format types for a given time type.
|
TypeList |
getTimeTypesForCalendarType(Type calendarType)
Gets the list of time types supported for a given calendar type where
they are both used in a
DateTime. |
TypeList |
getTimeTypesForFormatting()
Gets all the time types for which formatting is available.
|
TypeList |
getTimeTypesForSource(Type sourceTimeType)
Gets the list of target time types for a given source time type.
|
TypeList |
getUnitTypesForSource(Type sourceUnitType)
Gets the list of target measure types for a given source measure type.
|
boolean |
supportsCalendarConversion()
Tests if calendar conversion is supported.
|
boolean |
supportsCalendarFormatting()
Tests if calendar formatting is supported.
|
boolean |
supportsCalendarInfo()
Tests if a calendar informational service is supported.
|
boolean |
supportsCalendarTimeTypes(Type calendarType,
Type timeType)
Tests if a given calendar and time type are used together in a
DateTime. |
boolean |
supportsCalendarTypesForConversion(Type sourceCalendarType,
Type targetCalendarType)
Tests if a given calendar conversion is supported.
|
boolean |
supportsCalendarTypesForFormatting(Type calendarType,
Type timeType,
Type dateFormatType,
Type timeFormatType)
Tests if a given calendaring formatting is supported.
|
boolean |
supportsCoordinateConversion()
Tests if coordnate conversion is supported.
|
boolean |
supportsCoordinateFormatting()
Tests if coordinate formatting is supported.
|
boolean |
supportsCoordinateTypesForConversion(Type sourceCoordinateType,
Type targetCoordinateType)
Tests if a given coordinate type for conversion is supported.
|
boolean |
supportsCoordinateTypesForFormatting(Type coordinateType,
Type coordinateFormatType)
Tests if a given coordinate formatting is supported.
|
boolean |
supportsCurrencyConversion()
Tests if currency conversion is supported.
|
boolean |
supportsCurrencyFormatting()
Tests if currency formatting is supported.
|
boolean |
supportsCurrencyTypesForConversion(Type sourceCurrencyType,
Type targetCurrencyType)
Tests if a given currency conversion is supported.
|
boolean |
supportsCurrencyTypesForFormatting(Type currencyType,
Type numericFormatType)
Tests if a given currency formatting is supported.
|
boolean |
supportsFormatConversion()
Tests if format conversion is supported.
|
boolean |
supportsFormatTypesForConversion(Type sourceFormatType,
Type targetFormatType)
Tests if a given format conversion is supported.
|
boolean |
supportsLanguageTypesForTranslation(Type sourceLanguageType,
Type sourceScriptType,
Type targetLanguageType,
Type targetScriptType)
Tests if a given language translation is supported.
|
boolean |
supportsNumericFormatting()
Tests if numeric formatting is supported.
|
boolean |
supportsNumericFormatTypes(Type numericFormatType)
Tests if a given numeric format type is supported.
|
boolean |
supportsSpatialUnitConversion()
Tests if spatial unit conversion is supported.
|
boolean |
supportsSpatialUnitRecordTypesForConversion(Type sourceSpatialUnitRecordType,
Type targetSpatialUnitRecordType)
Tests if a given spatial unit conversion is supported.
|
boolean |
supportsTimeTypesForConversion(Type sourceTimeType,
Type targetTimeType)
Tests if a given time conversion is supported.
|
boolean |
supportsTranslation()
Tests if translation is supported.
|
boolean |
supportsTranslationAdmin()
Tests if translation administration is supported.
|
boolean |
supportsUnitConversion()
Tests if unit conversion is supported.
|
boolean |
supportsUnitTypesForConversion(Type sourceUnitType,
Type targetUnitType)
Tests if a given measure conversion is supported.
|
boolean |
supportsVisibleFederation()
Tests if visible federation is supported.
|
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordType
getBranding, getBrandingIds, getLicense, getProvider, getProviderId
boolean supportsVisibleFederation()
true
if visible federation is supported,
false
otherwisemandatory
- This method must be implemented. boolean supportsTranslation()
true
if translation is supported, false
otherwisemandatory
- This method must be implemented. boolean supportsTranslationAdmin()
true
if translation administration is
supported, false
otherwisemandatory
- This method must be implemented. boolean supportsNumericFormatting()
true
if numeric formatting is supported,
false
otherwisemandatory
- This method must be implemented. boolean supportsCalendarFormatting()
true
if calendar formatting is supported,
false
otherwisemandatory
- This method must be implemented. boolean supportsCurrencyFormatting()
true
if currency formatting is supported,
false
otherwisemandatory
- This method must be implemented. boolean supportsCoordinateFormatting()
true
if coordinate formatting is supported,
false
otherwisemandatory
- This method must be implemented. boolean supportsUnitConversion()
true
if unit conversion is supported,
false
otherwisemandatory
- This method must be implemented. boolean supportsCurrencyConversion()
true
if currency conversion is supported,
false
otherwisemandatory
- This method must be implemented. boolean supportsCalendarConversion()
true
if calendar conversion is supported,
false
otherwisemandatory
- This method must be implemented. boolean supportsCoordinateConversion()
true
if coordinate conversion is supported,
false
otherwisemandatory
- This method must be implemented. boolean supportsSpatialUnitConversion()
true
if spatial unit conversion is supported,
false
otherwisemandatory
- This method must be implemented. boolean supportsFormatConversion()
true
if format conversion is supported,
false
otherwisemandatory
- This method must be implemented. boolean supportsCalendarInfo()
true
if calendar info is supported,
false
otherwisemandatory
- This method must be implemented. boolean supportsLanguageTypesForTranslation(Type sourceLanguageType, Type sourceScriptType, Type targetLanguageType, Type targetScriptType)
sourceLanguageType
- the type of the source languagesourceScriptType
- the type of the source scripttargetLanguageType
- the type of the target languagetargetScriptType
- the type of the target script true
if the given source and target translation
is supported, false
otherwiseNullArgumentException
- sourceLanguageType,
sourceScriptType, targetLanguageType
or
targetScriptType
is null
mandatory
- This method must be implemented. TypeList getLanguageTypesForSource(Type sourceLanguageType, Type sourceScriptType)
sourceLanguageType
- the type of the source languagesourceScriptType
- the type of the source scriptNullArgumentException
- sourceLanguageType
is null
mandatory
- This method must be implemented. TypeList getSourceLanguageTypes()
mandatory
- This method must be implemented. TypeList getScriptTypesForLanguageType(Type languageType)
languageType
- the type of the languageNullArgumentException
- languageType
is
null
mandatory
- This method must be implemented. boolean supportsNumericFormatTypes(Type numericFormatType)
numericFormatType
- the type of the numeric format true
if the given numeric format type is
supported, false
otherwiseNullArgumentException
- numericFormatType
is null
mandatory
- This method must be implemented. TypeList getNumericFormatTypes()
mandatory
- This method must be implemented. boolean supportsCalendarTypesForFormatting(Type calendarType, Type timeType, Type dateFormatType, Type timeFormatType)
calendarType
- the type of the calendartimeType
- the type of the time systemdateFormatType
- the type of the output date formattimeFormatType
- the type of the output time format true
if formatting with the given types is
supported, false
otherwiseNullArgumentException
- calendarType,
calendarFormatType, timeType,
or timeFormatType
is null
mandatory
- This method must be implemented. TypeList getCalendarTypesForFormatting()
mandatory
- This method must be implemented. TypeList getDateFormatTypesForCalendarType(Type calendarType)
calendarType
- the type of the calendarNullArgumentException
- calendarType
is
null
mandatory
- This method must be implemented. TypeList getTimeTypesForFormatting()
mandatory
- This method must be implemented. TypeList getTimeFormatTypesForTimeType(Type timeType)
timeType
- the type of the timeNullArgumentException
- timeType
is
null
mandatory
- This method must be implemented. boolean supportsCurrencyTypesForFormatting(Type currencyType, Type numericFormatType)
currencyType
- the type of the currencynumericFormatType
- the type of the output currency format true
if formatting with the given types is
supported, false
otherwiseNullArgumentException
- currencyType
or
numericFormatType
is null
mandatory
- This method must be implemented. TypeList getCurrencyTypesForFormatting()
mandatory
- This method must be implemented. TypeList getCurrencyFormatTypesForCurrencyType(Type currencyType)
currencyType
- the type of the currencyNullArgumentException
- currencyType
is
null
mandatory
- This method must be implemented. boolean supportsCoordinateTypesForFormatting(Type coordinateType, Type coordinateFormatType)
coordinateType
- the type of the coordinatecoordinateFormatType
- the type of the output coordinate format true
if formatting with the given types is
supported, false
otherwiseNullArgumentException
- cooridinateType
or coodinateFormatType
is null
mandatory
- This method must be implemented. TypeList getCoordinateTypesForFormatting()
mandatory
- This method must be implemented. TypeList getCoordinateFormatTypesForCoordinateType(Type coordinateType)
coordinateType
- the type of the coordinateNullArgumentException
- coordinaterType
is null
mandatory
- This method must be implemented. boolean supportsUnitTypesForConversion(Type sourceUnitType, Type targetUnitType)
sourceUnitType
- the type of the source measuretargetUnitType
- the type of the target measure true
if the given source and target conversion
is supported, false
otherwiseNullArgumentException
- sourceUnitType
or targetUnitType
is null
mandatory
- This method must be implemented. TypeList getUnitTypesForSource(Type sourceUnitType)
sourceUnitType
- the type of the source measureNullArgumentException
- sourceUnitType
is null
mandatory
- This method must be implemented. TypeList getSourceUnitTypes()
mandatory
- This method must be implemented. boolean supportsCurrencyTypesForConversion(Type sourceCurrencyType, Type targetCurrencyType)
sourceCurrencyType
- the type of the source currencytargetCurrencyType
- the type of the target currency true
if the given source and target conversion
is supported, false
otherwiseNullArgumentException
- sourceCurrencyType
or targetCurrencyType
is null
mandatory
- This method must be implemented. TypeList getCurrencyTypesForSource(Type sourceCurrencyType)
sourceCurrencyType
- the type of the source currencyNullArgumentException
- sourceCurrencyType
is null
mandatory
- This method must be implemented. TypeList getSourceCurrencyTypes()
mandatory
- This method must be implemented. boolean supportsCalendarTypesForConversion(Type sourceCalendarType, Type targetCalendarType)
sourceCalendarType
- the type of the source calendartargetCalendarType
- the type of the target calendar true
if the given source and target conversion
is supported, false
otherwiseNullArgumentException
- sourceCalendarType
or targetCalendarType
is null
mandatory
- This method must be implemented. TypeList getCalendarTypesForSource(Type sourceCalendarType)
sourceCalendarType
- the type of the source calendarNullArgumentException
- sourceCalendarType
is null
mandatory
- This method must be implemented. TypeList getSourceCalendarTypes()
mandatory
- This method must be implemented. boolean supportsTimeTypesForConversion(Type sourceTimeType, Type targetTimeType)
sourceTimeType
- the type of the source timetargetTimeType
- the type of the target time true
if the given source and target conversion
is supported, false
otherwiseNullArgumentException
- sourceTimeType
or targetTimeType
is null
mandatory
- This method must be implemented. TypeList getTimeTypesForSource(Type sourceTimeType)
sourceTimeType
- the type of the source timeNullArgumentException
- sourceTimeType
is null
mandatory
- This method must be implemented. TypeList getSourceTimeTypes()
mandatory
- This method must be implemented. TypeList getTimeTypesForCalendarType(Type calendarType)
DateTime.
calendarType
- the type of the calendarNullArgumentException
- calendarType
is
null
mandatory
- This method must be implemented. TypeList getCalendarTypesForTimeType(Type timeType)
DateTime.
timeType
- the type of the time systemNullArgumentException
- timeType
is
null
mandatory
- This method must be implemented. boolean supportsCalendarTimeTypes(Type calendarType, Type timeType)
DateTime.
calendarType
- the type of the calendartimeType
- the type of the time system true
if the given calendar and time types are
supported, false
otherwiseNullArgumentException
- calendarType
or
timeType
is null
mandatory
- This method must be implemented. boolean supportsCoordinateTypesForConversion(Type sourceCoordinateType, Type targetCoordinateType)
sourceCoordinateType
- the type of the source coordinatetargetCoordinateType
- the type of the target coordinate true
if the given source and target conversion
is supported, false
otherwiseNullArgumentException
- sourceCoordinateType
or targetCoordinateType
is null
mandatory
- This method must be implemented. TypeList getCoordinateTypesForSource(Type sourceCoordinateType)
sourceCoordinateType
- the type of the source coordinateNullArgumentException
- sourceCoordinateType
is null
mandatory
- This method must be implemented. TypeList getSourceCoordinateTypes()
mandatory
- This method must be implemented. boolean supportsSpatialUnitRecordTypesForConversion(Type sourceSpatialUnitRecordType, Type targetSpatialUnitRecordType)
sourceSpatialUnitRecordType
- the type of the source spatial
unit recordtargetSpatialUnitRecordType
- the type of the target spatial
unit record true
if the given source and target conversion
is supported, false
otherwiseNullArgumentException
-
sourceSpatialUnitRecordType
or
targetSpatialUnitRecordType
is null
mandatory
- This method must be implemented. TypeList getSpatialUnitRecordTypesForSource(Type sourceSpatialUnitRecordType)
sourceSpatialUnitRecordType
- the type of the source spatial
unit recordNullArgumentException
-
sourceSpatialUnitRecordType
is null
mandatory
- This method must be implemented. TypeList getSourceSpatialUnitRecordTypes()
mandatory
- This method must be implemented. boolean supportsFormatTypesForConversion(Type sourceFormatType, Type targetFormatType)
sourceFormatType
- the type of the source formattargetFormatType
- the type of the target format true
if the given source and target conversion
is supported, false
otherwiseNullArgumentException
- sourceFormatType
or targetFormatType
is null
mandatory
- This method must be implemented. TypeList getFormatTypesForSource(Type sourceFormatType)
sourceFormatType
- the type of the source formatNullArgumentException
- sourceFormatType
is null
mandatory
- This method must be implemented. TypeList getSourceFormatTypes()
mandatory
- This method must be implemented.