ucot.core
Class AnalyzeModelLogger

java.lang.Object
  extended by ucot.core.AnalyzeModelLogger
All Implemented Interfaces:
java.util.Observer

public class AnalyzeModelLogger
extends java.lang.Object
implements java.util.Observer

Class for logging changes in current analyze model. The changes are observed and the log is updated every time the analyze model notifies all observers about its changes.

Author:
pajumasu

Field Summary
private  java.util.logging.Logger logger
           
private  java.util.List<Updation> updations
           
 
Constructor Summary
AnalyzeModelLogger()
           
 
Method Summary
 void update(java.util.Observable observable, java.lang.Object arg)
          This method updates the logger when something changes in the analyze model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private java.util.logging.Logger logger

updations

private java.util.List<Updation> updations
Constructor Detail

AnalyzeModelLogger

public AnalyzeModelLogger()
Method Detail

update

public void update(java.util.Observable observable,
                   java.lang.Object arg)

This method updates the logger when something changes in the analyze model.

Specified by:
update in interface java.util.Observer
Parameters:
observable - Observable object, in this case the analyze model.
arg - Arguments for this method. If this is not an instance of Updation, then this method will do nothing.