getName(); } public function getName(): string { return $this->name; } public function getUrl() { return '/r/'.$this->getShortCutNode()->getResourceType()->getTool()->getName(). '/'.$this->getShortCutNode()->getResourceType()->getName(). '/'.$this->getShortCutNode()->getId(). '/link'; } public function getTool() { return $this->getShortCutNode()->getResourceType()->getTool()->getName(); } public function getType() { return $this->getShortCutNode()->getResourceType()->getName(); } public function setName(string $name): self { $this->name = $name; return $this; } public function getResourceIdentifier(): int { return $this->id; } public function getShortCutNode(): ResourceNode { return $this->shortCutNode; } public function setShortCutNode(ResourceNode $shortCutNode): self { $this->shortCutNode = $shortCutNode; return $this; } public function getId(): int { return $this->id; } public function getResourceName(): string { return $this->getName(); } public function setResourceName(string $name): self { return $this->setName($name); } }