Class CompoundDataRow

  • All Implemented Interfaces:

    public class CompoundDataRow
    extends Object
    implements DataRow
    • Constructor Detail

      • CompoundDataRow

        public CompoundDataRow​(DataRow envDataRow,
                               DataRow dataRow)
    • Method Detail

      • getEnvDataRow

        public DataRow getEnvDataRow()
      • getDataRow

        public DataRow getDataRow()
      • get

        public Object get​(String col)
        Returns the value of the function, expression or column using its specific name. The given name is translated into a valid column number and the the column is queried. For functions and expressions, the getValue() method is called and for columns from the tablemodel the tablemodel method getValueAt(row, column) gets called.
        Specified by:
        get in interface DataRow
        col - the item index.
        the value.
      • getColumnNames

        public String[] getColumnNames()
        Returns the known column names, this data-row understands. The column names may change over time but do not change while a event is processed by a function. The array returned is a copy of the internal data-storage and can be safely modified.
        Specified by:
        getColumnNames in interface DataRow
        the column names as array.
      • isChanged

        public boolean isChanged​(String name)
        Checks whether the value contained in the column has changed since the last advance-operation.
        Specified by:
        isChanged in interface DataRow
        name - the name of the column.
        true, if the value has changed, false otherwise.