public function getParent()
    {
        if (($this->parent === null) && $this->getParentId()) {
            $this->parent = $this->termFactory->create($this->getParentId(), $this->taxonomy);
        }

        return $this->parent;
    }