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.
|
String |
getSkySourceDescription()
Returns a version of the source description text that is
suitable for use in the context of sky coordinates.
|
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.
|
String |
toString() |
public AreaDomain getTargetDomain()
DomainMappergetTargetDomain in interface DomainMapperAreaDomain.INSTANCEpublic Class<?> getSourceClass()
DomainMapperObject.class.getSourceClass in interface DomainMapperpublic String getSourceName()
DomainMappergetSourceName in interface DomainMapperpublic String getSourceDescription()
DomainMappergetSourceDescription in interface DomainMapperpublic String getSkySourceDescription()
The default implementation simply calls
getSourceDescription().
public abstract java.util.function.Function<Object,Area> areaFunction(Class<?> aclazz)
aclazz - class of objects that is to be mappedCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.