/*
 * Created on May 12, 2005
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.kellegous.mas864.clusterss;

/**
 * @author knorton
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class ClusteringMachineEvent {
	private ClusteringMachine		source;
	private Object				data;
	
	public ClusteringMachineEvent(ClusteringMachine source) {
		this.source = source;
	}
	
	public ClusteringMachineEvent(ClusteringMachine source, Object data) {
		this.source = source;
		this.data = data;
	}
	
	public ClusteringMachine getSource() {
		return this.source;
	}
	
	public String getMessage() {
		return this.data.toString();
	}
	
	public Object getData() {
	    return this.data;
	}
}
