public class JoinFixActionParameter extends ChoiceParameter<JoinFixActionParameter.Fixer>
Modifier and Type | Class and Description |
---|---|
class |
JoinFixActionParameter.Fixer
Helper class which defines how suffixes are turned into JoinFixActions.
|
Constructor and Description |
---|
JoinFixActionParameter(String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
StringParameter |
createSuffixParameter(String numLabel)
Returns a new parameter, identified by a numeric-like label,
by which per-table suffix strings can be specified.
|
StringParameter |
createSuffixParameter(String name,
String descrip,
String dflt)
Returns a new parameter by which per-table suffix strings can be
specified.
|
JoinFixAction |
getJoinFixAction(Environment env,
StringParameter suffixParam)
Returns the action specified by this parameter for a given label.
|
JoinFixAction[] |
getJoinFixActions(Environment env,
int nin)
Returns an array of fix actions, one for each of a list of numbered
input tables.
|
getUsage, objectToString, setDefaultOption, setUsage, stringToObject
addOption, addOption, choiceToString, clearOptions, getName, getOption, getOptionNames, getOptions, getOptionValueList, stringifyOption, stringToChoice
clearValue, getDescription, getName, getPosition, getPreferExplicit, getPrompt, getStringDefault, getValueClass, isNullPermitted, objectValue, setDescription, setDescription, setName, setNullPermitted, setPosition, setPreferExplicit, setPrompt, setStringDefault, setValue, setValueFromObject, setValueFromString, stringValue, toArray, toString
public JoinFixActionParameter(String name)
name
- parameter namepublic JoinFixAction getJoinFixAction(Environment env, StringParameter suffixParam) throws TaskException
env
- execution environmentsuffixParam
- parameter supplying suffix value
(got from a createSuffixParameter
method)TaskException
public JoinFixAction[] getJoinFixActions(Environment env, int nin) throws TaskException
env
- execution environmentnin
- size of fix action arraynin
-element array of fix actions ("1", "2", ...)TaskException
public StringParameter createSuffixParameter(String numLabel)
numLabel
- table identifier such as "1"public StringParameter createSuffixParameter(String name, String descrip, String dflt)
name
- parameter namedescrip
- phrase identifying table that this parameter controls
(such as "table 3")dflt
- default valueCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.