|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DomainMapper
Marker interface for objects that can map input values to a particular common value domain. Abstract sub-types of this interface will define a particular common value domain and 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.
A common value domain is typically a range of numeric values with the same units and zero point, giving something like a one-dimensional coordinate frame, but without necessarily modelling all the subtleties that can be associated with coordinates. Its main job is to untangle different possible representations of physical values in input data.
Table input handlers can provide typed DomainMapper instances as part of the table metadata they construct, as a way to communicate format-specific information about the intended semantics and conversion mechanisms of columns or parameters to users of the table.
Method Summary | |
---|---|
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. |
java.lang.String |
getTargetName()
Returns a name identifying the target domain of this mapper. |
Method Detail |
---|
java.lang.String getTargetName()
java.lang.Class getSourceClass()
java.lang.String getSourceName()
java.lang.String getSourceDescription()
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |