public abstract class AbstractTypeConverter<T,DomainT> extends Object implements TypeConverter<T,DomainT>
Constructor and Description |
---|
AbstractTypeConverter() |
Modifier and Type | Method and Description |
---|---|
ConvertedObject<T> |
fromDomain(DomainT domainObject) |
abstract ConvertedObject<T> |
fromDomainNonNull(DomainT domainObject) |
ConvertedObject<DomainT> |
toDomain(T object) |
abstract ConvertedObject<DomainT> |
toDomainNonNull(T object) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDomainType, getType
public final ConvertedObject<DomainT> toDomain(@Nullable T object)
toDomain
in interface TypeConverter<T,DomainT>
public final ConvertedObject<T> fromDomain(@Nullable DomainT domainObject)
fromDomain
in interface TypeConverter<T,DomainT>
public abstract ConvertedObject<DomainT> toDomainNonNull(@NonNull T object) throws Exception
Exception
public abstract ConvertedObject<T> fromDomainNonNull(@NonNull DomainT domainObject) throws Exception
Exception
Copyright © 2017 SAP SE. All rights reserved.