code: Command get_command(final String cmd_name) throws DevFailed {
  	Command ret_cmd = null;
  	final Vector cmd_list = device_class.get_command_list();
  	for (int i = 0; i < cmd_list.size(); i++) {
  	    final Command cmd = (Command) cmd_list.elementAt(i);
  	    if (cmd.get_name().toLowerCase().equals(cmd_name.toLowerCase())) {
  		ret_cmd = cmd;
  	    }
  	}
  
  	if (ret_cmd == null) {
  	    Except.throw_exception("API_CommandNotFound", "Command " + cmd_name + " not found",
  		    "DeviceImpl.get_command");
  	}
  
  	return ret_cmd;
      }
docs: --------------------------------------------------------------------------