Modifier and Type | Method and Description |
---|---|
<T> ConvertedObject<T> |
ErpTypeSerializer.fromErp(String erpObject,
Class<T> resultType)
Convert a given String based erpObject in the ERP-based representation into an object of resultType.
|
<T> ConvertedObject<String> |
ErpTypeSerializer.toErp(T object)
Convert given object to an ERP type using a registered
ErpTypeConverter . |
Modifier and Type | Method and Description |
---|---|
ConvertedObject<Object> |
IdentityConverter.fromDomain(Object domainObject) |
ConvertedObject<LocalDateTime> |
LocalDateTimeCalendarConverter.fromDomainNonNull(Calendar domainObject) |
ConvertedObject<LocalTime> |
LocalTimeCalendarConverter.fromDomainNonNull(Calendar domainObject) |
ConvertedObject<ZonedDateTime> |
ZonedDateTimeCalendarConverter.fromDomainNonNull(Calendar domainObject) |
ConvertedObject<Object> |
IdentityConverter.toDomain(Object object) |
ConvertedObject<Calendar> |
LocalDateTimeCalendarConverter.toDomainNonNull(LocalDateTime object) |
ConvertedObject<Calendar> |
LocalTimeCalendarConverter.toDomainNonNull(LocalTime object) |
ConvertedObject<Calendar> |
ZonedDateTimeCalendarConverter.toDomainNonNull(ZonedDateTime object) |
Modifier and Type | Method and Description |
---|---|
ConvertedObject<T> |
AbstractTypeConverter.fromDomain(DomainT domainObject)
Transforms the given domain-specific object to the general object.
|
ConvertedObject<T> |
TypeConverter.fromDomain(DomainT domainObject)
Transforms the given domain-specific object to the general object.
|
abstract ConvertedObject<T> |
AbstractTypeConverter.fromDomainNonNull(DomainT domainObject)
Actual converter implementation from a domain-specific object to an arbitrary type.
|
static <T> ConvertedObject<T> |
ConvertedObject.of(T convertedObject)
Creates a
ConvertedObject containing the given object as its value. |
static <T> ConvertedObject<T> |
ConvertedObject.ofNotConvertible()
Creates a
ConvertedObject containing null as its value. |
static <T> ConvertedObject<T> |
ConvertedObject.ofNull()
Creates a
ConvertedObject containing null as its value. |
ConvertedObject<DomainT> |
AbstractTypeConverter.toDomain(T object)
Transforms the given object to its domain-specific counterpart.
|
ConvertedObject<DomainT> |
TypeConverter.toDomain(T object)
Transforms the given object to its domain-specific counterpart.
|
abstract ConvertedObject<DomainT> |
AbstractTypeConverter.toDomainNonNull(T object)
Actual converter implementation from an arbitrary object to its domain-specific counterpart.
|
Copyright © 2021 SAP SE. All rights reserved.