/*
 * @(#)CommandColleague.java	1.0 11-Apr-07
 *
 * IIT Bombay, 
 * Licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.5 License.
 */
package interfaces;

/**
 * Abstract class for the colleague objects to interact with mediator.<br>
 * Classes need to inhert this class to communicate with mediator class. 
 * @author  Prathab, Mukesh
 * @version 1.0, 25-Mar-07
 * @see interfaces.ICommandMediator
 */
public abstract class CommandColleague {
	
	/**
	 *  Reference to the <tt>ICommandMediator</tt> class 
	 */
	public static ICommandMediator commandMediator = null;
	
	/**
	 * Constructor set the <tt>ICommandMediator</tt> type object
	 * @param commandMediator command mediator object that to be set
	 */
	public CommandColleague(ICommandMediator commandMediator) {
		this.commandMediator = commandMediator;
	}

}
