public int setAction(String symbol) throws MaltChainedException { if (symbol == null) { clear(); } else { actionCode = table.getSymbolStringToCode(symbol); if (actionCode == -1) { clear(); } else { actionSymbol = symbol; } } return actionCode; }
public String setAction(int code) throws MaltChainedException { if (actionCode != code) { if (code < 0) { clear(); } else { actionSymbol = table.getSymbolCodeToString(code); if (actionSymbol == null) { clear(); } else { actionCode = code; } } } return actionSymbol; }
public String getTableName() { if (table == null) { return null; } return table.getName(); }