public class LocaleConverter extends AbstractErpTypeConverter<Locale>
Locale
.Modifier and Type | Field and Description |
---|---|
static LocaleConverter |
INSTANCE
Statically created instance of this converter.
|
Constructor and Description |
---|
LocaleConverter() |
Modifier and Type | Method and Description |
---|---|
ConvertedObject<Locale> |
fromDomainNonNull(String domainObject)
Actual converter implementation from a domain-specific object to an arbitrary type.
|
Class<Locale> |
getType()
Getter for an class object of the type to convert from/to the domain-specific counterpart.
|
ConvertedObject<String> |
toDomainNonNull(Locale object)
Actual converter implementation from an arbitrary object to its domain-specific counterpart.
|
getDomainType
fromDomain, toDomain
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromDomain, toDomain
public static final LocaleConverter INSTANCE
@Nonnull public Class<Locale> getType()
T
.@Nonnull public ConvertedObject<String> toDomainNonNull(@Nonnull Locale object)
toDomainNonNull
in class AbstractTypeConverter<Locale,String>
object
- The object to transform to its domain-specific counterpart.@Nonnull public ConvertedObject<Locale> fromDomainNonNull(@Nonnull String domainObject)
fromDomainNonNull
in class AbstractTypeConverter<Locale,String>
domainObject
- The domain-specific object to transform.Copyright © 2019 SAP SE. All rights reserved.