public function getPath() { return new DocumentPath($this->getIndex(), $this->getType(), $this->getId(), $this->getParentId()); }