public class BooleanConverter extends AbstractErpTypeConverter<Boolean>
Boolean
.Modifier and Type | Field and Description |
---|---|
static BooleanConverter |
INSTANCE
Statically created instance of this converter.
|
Constructor and Description |
---|
BooleanConverter() |
Modifier and Type | Method and Description |
---|---|
ConvertedObject<Boolean> |
fromDomainNonNull(String domainObject)
Actual converter implementation from a domain-specific object to an arbitrary type.
|
Class<Boolean> |
getType()
Getter for an class object of the type to convert from/to the domain-specific counterpart.
|
ConvertedObject<String> |
toDomainNonNull(Boolean 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 BooleanConverter INSTANCE
@Nonnull public Class<Boolean> getType()
TypeConverter
T
.@Nonnull public ConvertedObject<String> toDomainNonNull(@Nonnull Boolean object)
AbstractTypeConverter
toDomainNonNull
in class AbstractTypeConverter<Boolean,String>
object
- The object to transform to its domain-specific counterpart.@Nonnull public ConvertedObject<Boolean> fromDomainNonNull(@Nonnull String domainObject) throws Exception
AbstractTypeConverter
fromDomainNonNull
in class AbstractTypeConverter<Boolean,String>
domainObject
- The domain-specific object to transform.Exception
- If an error occurred during the transformation.Copyright © 2020 SAP SE. All rights reserved.