The IComputation interface allows for calculated values to be stored against GPO properties.

The simple interface :

public interface IComputation extends Serializable {
  Object computeValue(IGPOMap context);
}

is implemented by custom serializable classes to provide the definition.

GPOComputation

This class is used as an IComputation wrapper and provides a hook to integrate with the Listener patterns.

Using GPOComputation properties on which the computation is dependent notify the GPOComputation instance which can then forward the notification to listeners to the computed value.

This is the way that the cluster properties can be defined and integrated with the classification objects.

Spreadsheet

Spreadsheet type data flows are enabled by these patterns. A small set of IComputation objects will be provided to demonstrate how this can work.