public function getTypeManager()
    {
        if (!$this->_typeManager) {
            $this->_typeManager = new TypeManager();

            /* @var $localeInfoService localeInfoService */
            $localeInfoService = Openbizx::getService(LOCALEINFO_SERVICE);
            $localeInfo = $localeInfoService->getLocaleInfo();

            if ($localeInfo) {
                $this->_typeManager->setLocaleInfo($localeInfo);
            }
        }
        return $this->_typeManager;
    }