speedOM = new OperatingMode(SPEED_KNOB_NAME, new OMSMValueList(modeNames));
speedOM = new OperatingModeImpl(SPEED_KNOB_NAME, new OMSMValueList(modeNames));
    private void reallyStart() {	allTasks = (IncrementalSubscription) subscribe(allTasksPredicate);        parseParams();        String[] modeNames = {            LOW_SPEED_KNOB_SETTING,            MEDIUM_SPEED_KNOB_SETTING,            HIGH_SPEED_KNOB_SETTING        };        Collection operatingModes = getBlackboardService().query(new UnaryPredicate() {            public boolean execute(Object o) {                if (o instanceof OperatingMode) {                    OperatingMode om = (OperatingMode) o;                    if (om.getName().equals(SPEED_KNOB_NAME)) {                        return true;                    }                }                return false;            }        });        System.out.println("Really start");        if (operatingModes.size() > 0) {            speedOM = (OperatingMode) operatingModes.iterator().next();        } else {            speedOM = new OperatingMode(SPEED_KNOB_NAME, new OMSMValueList(modeNames));            publishAdd(speedOM);        }    }