public class CoordSpec extends Object
Constructor and Description |
---|
CoordSpec(String inputName,
String valueExpr,
DomainMapper dm,
DomainMapper dfltDm)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
DomainMapper |
getDefaultDomainMapper()
Returns the domain mapper that would be used if none was given,
or null if the quantity is not domain-sensitive
or if no obvious default suggests itself.
|
DomainMapper |
getDomainMapper()
Returns the domain mapper used to interpret the value,
or null if the quantity is not domain-sensitive.
|
String |
getInputName()
Returns the name of the input quantity.
|
String |
getValueExpr()
Returns the expression giving the quantity's value,
to be evaluated in the context of the host table.
|
public CoordSpec(String inputName, String valueExpr, DomainMapper dm, DomainMapper dfltDm)
inputName
- name of input quantity (coordinate name)valueExpr
- expression giving the quantity's value,
to be evaluated in the context of the host tabledm
- domain mapper used to interpret the input value;
null if the quantity is not domain-sensitivedfltDm
- domain mapper that would be used if none was given;
null if the quantity is not domain-sensitive
or if no obvious default suggests itselfpublic String getInputName()
public String getValueExpr()
public DomainMapper getDomainMapper()
public DomainMapper getDefaultDomainMapper()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.