public class StringBasedErpTypeConverter<T extends StringBasedErpType<T>> extends AbstractErpTypeConverter<T>
Constructor and Description |
---|
StringBasedErpTypeConverter(Class<T> type) |
Modifier and Type | Method and Description |
---|---|
ConvertedObject<T> |
fromDomainNonNull(String domainObject)
Actual converter implementation from a domain-specific object to an arbitrary type.
|
Class<T> |
getType()
Getter for an class object of the type to convert from/to the domain-specific counterpart.
|
ConvertedObject<String> |
toDomainNonNull(T 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
@Nonnull public Class<T> getType()
T
.@Nonnull public ConvertedObject<String> toDomainNonNull(@Nullable T object)
toDomainNonNull
in class AbstractTypeConverter<T extends StringBasedErpType<T>,String>
object
- The object to transform to its domain-specific counterpart.@Nonnull public ConvertedObject<T> fromDomainNonNull(@Nullable String domainObject)
fromDomainNonNull
in class AbstractTypeConverter<T extends StringBasedErpType<T>,String>
domainObject
- The domain-specific object to transform.Copyright © 2018 SAP SE. All rights reserved.