protected function getClass($sInstanceName)
    {
        $facts = new Facts();
        $class =  'OxidEsales\\EshopCommunity\\Setup\\' . $sInstanceName;

        $classEnterprise = '\\OxidEsales\\EshopEnterprise\\'.EditionPathProvider::SETUP_DIRECTORY.'\\'.$sInstanceName;
        $classProfessional = '\\OxidEsales\\EshopProfessional\\'.EditionPathProvider::SETUP_DIRECTORY.'\\'.$sInstanceName;
        if (($facts->isProfessional() || $facts->isEnterprise()) && $this->classExists($classProfessional)) {
            $class = $classProfessional;
        }
        if ($facts->isEnterprise() && $this->classExists($classEnterprise)) {
            $class = $classEnterprise;
        }

        return $class;
    }