getData('contextId'); } /** * Set the context ID */ public function setContextId(int $contextId): void { $this->setData('contextId', $contextId); } /** * Get the ROR */ public function getROR(): ?string { return $this->getData('ror'); } /** * Set the ROR */ public function setROR(string $ror): void { $this->setData('ror', $ror); } /** * Get the localized name of the institution */ public function getLocalizedName(string $preferredLocale = null): string { return $this->getLocalizedData('name', $preferredLocale); } /** * Get the name of the institution */ public function getName(string $locale = null): string|array { return $this->getData('name', $locale); } /** * Set the name of the institution */ public function setName(string $name, string $locale = null): void { $this->setData('name', $name, $locale); } /** * Get institution ip ranges. */ public function getIPRanges(): array { return $this->getData('ipRanges'); } /** * Set institution ip ranges. */ public function setIPRanges(array $ipRanges): void { $this->setData('ipRanges', $ipRanges); } }