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