// Toggle "is-discrepant" checkbox and value.
ValidObservation ob = this.validObservations.get(rowIndex);
boolean discrepant = ob.isDiscrepant();
ob.setDiscrepant(!discrepant);
// Tell anyone who's listening about the change.
DiscrepantObservationMessage message = new DiscrepantObservationMessage(
ob, this);
Mediator.getInstance().getDiscrepantObservationNotifier()
.notifyListeners(message);
Mediator.getInstance().reportDiscrepantObservation(ob, null);