类 TableItemNode


public class TableItemNode extends TerminalNode
Represents a table item in the syntax tree.
  • 构造器详细资料

    • TableItemNode

      public TableItemNode(String tableName, TableItemType itemType, String columnName)
      Creates a new TableItemNode from a column of a table.
      参数:
      tableName - The name of the table.
      itemType - The part of the table.
      columnName - The column of the table.
    • TableItemNode

      public TableItemNode(String tableName, TableItemType itemType, String columnFrom, String columnTo)
      Creates a new TableItemNode from range of columns of a table.
      参数:
      tableName - The name of the table.
      itemType - The part of the table.
      columnFrom - The start column.
      columnTo - The end column.
  • 方法详细资料

    • getTableName

      public final String getTableName()
      The name of the table.
    • setTableName

      public final void setTableName(String value)
      The name of the table.
    • getItemType

      public final TableItemType getItemType()
      The part of the table. Values are defined in TableItemType.
    • setItemType

      public final void setItemType(TableItemType value)
      The part of the table. Values are defined in TableItemType.
      参数:
      value - TableItemType value.
    • getColumnFrom

      public final String getColumnFrom()
      The start column.
    • setColumnFrom

      public final void setColumnFrom(String value)
      The start column.
    • getColumnTo

      public final String getColumnTo()
      The end column.
    • setColumnTo

      public final void setColumnTo(String value)
      The end column.