oracle.dacf.dataset
Interface Calculator
- All Superinterfaces:
- java.util.EventListener
- public interface Calculator
- extends java.util.EventListener
This interface defines the methods that must be implemented by a class
that will perform calculations on column data. The class includes
methods to provide data sources to the derived calculator and to remove
the sources.
sourceAdded
public void sourceAdded(ColumnInfo col)
- Adds a ColumnInfo to this Calculator as a source.
- Parameters:
col
- the ColumnInfo added as a value source.
sourceRemoved
public void sourceRemoved(ColumnInfo col)
- Removes a ColumnInfo from this Calculator.
- Parameters:
col
- the ColumnInfo removed as a value source.
calculate
public void calculate(CalculatedAttributeInfo ca,
javax.infobus.ImmediateAccess ia)
- Calculates the new value based upon the source values.
- Parameters:
ca
- the CalculatedAttributeInfo to be updated.ia
- the ImmediateAccess DataItem that contains the current
value and stores the new value.