getFilename(); } public function setPath(string $path): self { $this->path = $path; return $this; } /** * Get path. * * @return string */ public function getPath() { return $this->path; } public function setComment(string $comment): self { $this->comment = $comment; return $this; } /** * Get comment. * * @return string */ public function getComment() { return $this->comment; } public function setSize(int $size): self { $this->size = $size; return $this; } /** * Get size. * * @return int */ public function getSize() { return $this->size; } public function setMessage(Message $message): self { $this->message = $message; return $this; } public function getMessage(): Message { return $this->message; } public function setFilename(string $filename): self { $this->filename = $filename; return $this; } public function getFilename(): string { return $this->filename; } /** * Get id. * * @return int */ public function getId() { return $this->id; } public function getResourceIdentifier(): int { return $this->getId(); } public function getResourceName(): string { return $this->getFilename(); } public function setResourceName(string $name): self { return $this->setFilename($name); } }