Class LocaleConverter
java.lang.Object
com.sap.cloud.sdk.typeconverter.AbstractTypeConverter<T,String>
com.sap.cloud.sdk.s4hana.serialization.AbstractErpTypeConverter<Locale>
com.sap.cloud.sdk.s4hana.serialization.LocaleConverter
- All Implemented Interfaces:
ErpTypeConverter<Locale>
,TypeConverter<Locale,
String>
Deprecated.
This module will be discontinued, along with its classes and methods.
Type converter for
Locale
.-
Field Summary
Modifier and TypeFieldDescriptionstatic final LocaleConverter
Deprecated.Statically created instance of this converter. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromDomainNonNull
(String domainObject) Deprecated.Actual converter implementation from a domain-specific object to an arbitrary type.getType()
Deprecated.Getter for an class object of the type to convert from/to the domain-specific counterpart.toDomainNonNull
(Locale object) Deprecated.Actual converter implementation from an arbitrary object to its domain-specific counterpart.Methods inherited from class com.sap.cloud.sdk.s4hana.serialization.AbstractErpTypeConverter
getDomainType
Methods inherited from class com.sap.cloud.sdk.typeconverter.AbstractTypeConverter
fromDomain, toDomain
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sap.cloud.sdk.typeconverter.TypeConverter
fromDomain, toDomain
-
Field Details
-
INSTANCE
Deprecated.Statically created instance of this converter.
-
-
Constructor Details
-
LocaleConverter
public LocaleConverter()Deprecated.
-
-
Method Details
-
getType
Deprecated.Description copied from interface:TypeConverter
Getter for an class object of the type to convert from/to the domain-specific counterpart.- Returns:
- The class object of
T
.
-
toDomainNonNull
Deprecated.Description copied from class:AbstractTypeConverter
Actual converter implementation from an arbitrary object to its domain-specific counterpart.- Specified by:
toDomainNonNull
in classAbstractTypeConverter<Locale,
String> - Parameters:
object
- The object to transform to its domain-specific counterpart.- Returns:
- A wrapper containing the domain-specific counterpart.
-
fromDomainNonNull
Deprecated.Description copied from class:AbstractTypeConverter
Actual converter implementation from a domain-specific object to an arbitrary type.- Specified by:
fromDomainNonNull
in classAbstractTypeConverter<Locale,
String> - Parameters:
domainObject
- The domain-specific object to transform.- Returns:
- A wrapper containing the converted object.
-