Class WbLanguageVariable

  • All Implemented Interfaces:

    public class WbLanguageVariable
    extends WbVariableExpr<String>
    A language variable generates a language code from a cell. It checks its values against a known list of valid language codes and fixes on the fly the deprecated ones (see WbLanguageConstant).
    • Constructor Detail

      • WbLanguageVariable

        public WbLanguageVariable()
      • WbLanguageVariable

        public WbLanguageVariable​(String columnName)
        Constructs a variable and sets the column it is bound to. Mostly used as a convenience method for testing.
        columnName - the name of the column the expression should draw its value from