public class Characteristic extends Object
Loading and saving dataset characteristics...
public static int getDtaChar(String[] args) {
String charName = args[0];
String value = Characteristic.getDtaChar(charName);
SFIToolkit.displayln("dta[" + charName + "]: " + value);
return 0;
}
public static int setDtaChar(String[] args) {
String charName = args[0];
String value = args[1];
int rc = Characteristic.setDtaChar(charName, value);
return rc;
}
Loading and saving variable characteristics...
public static int getVarChar(String[] args) {
String var = args[0];
String charName = args[1];
String value = Characteristic.getVariableChar(var, charName);
SFIToolkit.displayln(var +"[" + charName + "]: " + value);
return 0;
}
public static int setVarChar(String[] args) {
String varName = args[0];
String charName = args[1];
String value = args[2];
int rc = Characteristic.setVariableChar(varName, charName, value);
return rc;
}
Modifier and Type | Method and Description |
---|---|
static String |
getDtaChar(String name)
Get a characteristic for the current dataset.
|
static String |
getVariableChar(String variable,
String name)
Get a characteristic for a variable in the current dataset.
|
static int |
setDtaChar(String name,
String value)
Set a characteristic for the current dataset.
|
static int |
setVariableChar(String variable,
String name,
String value)
Set a characteristic for a variable in the current dataset.
|
@Synchronized public static String getDtaChar(String name)
name
- The name of the characteristic to retrieve.@Synchronized public static String getVariableChar(String variable, String name)
variable
- Name of the variable.name
- Name of the characteristic.@Synchronized public static int setDtaChar(String name, String value)
name
- Name of the characteristic.value
- Value to set.@Synchronized public static int setVariableChar(String variable, String name, String value)
variable
- Name of the variable.name
- Name of the characteristic.value
- Value to set.