public function getUrlGenerator() {
		if ($this->urlGenerator === null) {
			$discovery = $this->getResourceDiscovery();
			$this->urlGenerator = $this->getPuliFactory()->createUrlGenerator($discovery);
		}

		return $this->urlGenerator;
	}