Classes/Domain/Model/GoogleNewsUrlEntry.php
<?php
namespace Markussom\SitemapGenerator\Domain\Model;
/**
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* The TYPO3 project - inspiring people to share!
*/
/**
* Class UrlEntryNews
*/
class GoogleNewsUrlEntry extends UrlEntry
{
/**
* Name
*
* @var string
*/
protected $name = '';
/**
* Language
*
* @var string
*/
protected $language = 'en';
/**
* Access
*
* @var string
*/
protected $access = '';
/**
* Genres
*
* @var string
*/
protected $genres = '';
/**
* Publication date
*
* @var string
*/
protected $publicationDate = '';
/**
* Title
*
* @var string
*/
protected $title = '';
/**
* Keywords
*
* @var string
*/
protected $keywords = '';
/**
* Stock tickers
*
* @var string
*/
protected $stockTickers = '';
/**
* Get Name
*
* @return string
*/
public function getName(): string
{
return $this->name;
}
/**
* Set Name
*
* @param string $name
*/
public function setName(string $name): void
{
$this->name = $name;
}
/**
* Get Language
*
* @return string
*/
public function getLanguage(): string
{
return $this->language;
}
/**
* Set Language
*
* @param string $language
*/
public function setLanguage(string $language): void
{
$this->language = $language;
}
/**
* Get Access
*
* @return string|null
*/
public function getAccess(): ?string
{
return $this->access;
}
/**
* Set Access
*
* @param string $access
*/
public function setAccess(?string $access): void
{
$this->access = $access;
}
/**
* Get Genres
*
* @return string|null
*/
public function getGenres(): ?string
{
return $this->genres;
}
/**
* Set Genres
*
* @param string|null $genres
*/
public function setGenres(?string $genres): void
{
$this->genres = $genres;
}
/**
* Get PublicationDate
*
* @return string|null
*/
public function getPublicationDate(): ?string
{
return $this->publicationDate;
}
/**
* Set PublicationDate
*
* @param string|null $publicationDate
*/
public function setPublicationDate(?string $publicationDate): void
{
$this->publicationDate = $publicationDate;
}
/**
* Get Title
*
* @return string
*/
public function getTitle(): string
{
return $this->title;
}
/**
* Set Title
*
* @param string $title
*/
public function setTitle(string $title): void
{
$this->title = $title;
}
/**
* Get Keywords
*
* @return string|null
*/
public function getKeywords(): ?string
{
return $this->keywords;
}
/**
* Set Keywords
*
* @param string|null $keywords
*/
public function setKeywords(?string $keywords): void
{
$this->keywords = $keywords;
}
/**
* Get StockTickers
*
* @return string
*/
public function getStockTickers(): string
{
return $this->stockTickers;
}
/**
* Set StockTickers
*
* @param string $stockTickers
*/
public function setStockTickers(string $stockTickers): void
{
$this->stockTickers = $stockTickers;
}
}