public abstract class AreaMapper extends Object implements DomainMapper
Modifier | Constructor and Description |
---|---|
protected |
AreaMapper(String sourceName,
String sourceDescription,
Class<?> sourceClazz)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract java.util.function.Function<Object,Area> |
areaFunction(Class<?> aclazz)
Returns a function that can map source objects of a given class
to corresponding Area instances.
|
Class<?> |
getSourceClass()
Returns the type of values from which this mapper instance can
convert.
|
String |
getSourceDescription()
Returns a description of the type of source values which this mapper
can convert from.
|
String |
getSourceName()
Returns a short name for the type of source values which this mapper
can convert from.
|
AreaDomain |
getTargetDomain()
Returns the target domain of this mapper.
|
public AreaDomain getTargetDomain()
DomainMapper
getTargetDomain
in interface DomainMapper
AreaDomain.INSTANCE
public Class<?> getSourceClass()
DomainMapper
Object.class
.getSourceClass
in interface DomainMapper
public String getSourceName()
DomainMapper
getSourceName
in interface DomainMapper
public String getSourceDescription()
DomainMapper
getSourceDescription
in interface DomainMapper
public abstract java.util.function.Function<Object,Area> areaFunction(Class<?> aclazz)
aclazz
- class of objects that is to be mappedCopyright © 2023 Central Laboratory of the Research Councils. All Rights Reserved.