public interface DomainMapper
Domain
and provide abstract methods for
conversions to that domain. A concrete implementation of one of
those sub-types will provide the actual conversion methods for a
particular type of input data.
Table input handlers can provide typed DomainMapper instances as
part of the table metadata they construct
(see the ValueInfo.getDomainMappers()
method),
as a way to communicate format-specific information about the
intended semantics and conversion mechanisms of columns or
parameters to users of the table.
Domain
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getSourceClass()
Returns the type of values from which this mapper instance can
convert.
|
java.lang.String |
getSourceDescription()
Returns a description of the type of source values which this mapper
can convert from.
|
java.lang.String |
getSourceName()
Returns a short name for the type of source values which this mapper
can convert from.
|
Domain<?> |
getTargetDomain()
Returns the target domain of this mapper.
|
Domain<?> getTargetDomain()
java.lang.Class<?> getSourceClass()
Object.class
.java.lang.String getSourceName()
java.lang.String getSourceDescription()