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