package commandFactory;


public class CommandFactory {

	public CommandAction getCommandAction(CommandType commandType){
		switch (commandType) {
		case ADD:
			return new CommandActionAdd();
		case DELETE:
			return new CommandActionDelete();
		case DISPLAY:
			return new CommandActionDisplay();
		case EDIT:
			return new CommandActionEdit();
		case SEARCH:
			return new CommandActionSearch();
		default:
			return null;
		}
	}
}

@@ -336,24 +336,80 @@
 tionEdit();%0A
+%09%09case COMPLETE:%0A%09%09%09return new CommandActionComplete();%0A
 %09%09case SEARC

add completed