public function setDefaultPaletteConditionClassName($defaultPaletteConditionClassName)
    {
        $event = new SetDefaultPaletteConditionClassNameEvent($defaultPaletteConditionClassName, $this);
        $this->dispatchEvent($event);
        $defaultPaletteConditionClassName = $event->getDefaultPaletteConditionClassName();

        $this->defaultPaletteConditionClassName = (string) $defaultPaletteConditionClassName;
        $this->defaultPaletteConditionClass     = new \ReflectionClass($this->defaultPaletteConditionClassName);
        return $this;
    }