<?php
namespace App\Entity;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
/**
* DnsitEntity
*
* @ORM\Table(name="dnsit_entity")
* @ORM\Entity(repositoryClass="App\Repository\DnsitEntityRepository")
*/
class DnsitEntity
{
/**
* @ORM\Id()
* @ORM\GeneratedValue()
* @ORM\Column(type="integer")
*/
private $id;
/**
* @var int|null
*
* @ORM\Column(name="lei_id", type="bigint", nullable=true, unique=true)
*/
private $leiId;
/**
* @var string|null
*
* @ORM\Column(name="tourinsoft_id", type="string", length=255, nullable=true, unique=true)
*/
private $tourinsoftId;
/**
* @var string|null
*
* @ORM\Column(name="apidae_id", type="string", length=255, nullable=true)
*/
private $apidaeId;
/**
* @var string|null
*
* @ORM\Column(name="name", type="string", length=255, nullable=true)
*/
private $name;
/**
* @var int|null
*
* @ORM\Column(name="entity", type="bigint", nullable=true)
*/
private $entity;
/**
* @var int|null
*
* @ORM\Column(name="marking", type="smallint", nullable=true)
*/
private $marking;
/**
*
*
* @ORM\Column(name="params", type="json", nullable=true)
*/
private $params;
/**
* @var \DateTime|null
*
* @ORM\Column(name="created_at", type="datetime", nullable=true)
*/
private $createdAt;
/**
* @var int|null
*
* @ORM\Column(name="created_by", type="bigint", nullable=true)
*/
private $createdBy;
/**
* @var \DateTime|null
*
* @ORM\Column(name="updated_at", type="datetime", nullable=true)
*/
private $updatedAt;
/**
* @var int|null
*
* @ORM\Column(name="updated_by", type="bigint", nullable=true)
*/
private $updatedBy;
/**
* @var \App\Entity\DnsitEntity
*
* @ORM\ManyToOne(targetEntity="App\Entity\DnsitEntity")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="parent_id", referencedColumnName="id")
* })
*/
private $parent;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\User", mappedBy="entity", cascade={"persist"})
*/
private $users;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\Site", mappedBy="entity", cascade={"persist"})
*/
private $sites;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\Block", mappedBy="entity", cascade={"persist"})
*/
private $blocks;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\BlockField", mappedBy="entity", cascade={"persist"})
*/
private $blockFields;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\BlockFieldItem", mappedBy="entity", cascade={"persist"})
*/
private $blockFieldItems;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\Selection", mappedBy="entity", cascade={"persist"})
*
*/
private $selections;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\SelectionItem", mappedBy="entity", cascade={"persist"})
*
*/
private $selectionItems;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\WebEngine", mappedBy="entity", cascade={"persist"})
*
*/
private $webEngines;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\WebEngineSection", mappedBy="entity", cascade={"persist"})
*
*/
private $webEngineSections;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\WebEngineSubSection", mappedBy="entity", cascade={"persist"})
*
*/
private $webEngineSubSections;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\WebSubSectionFilter", mappedBy="entity", cascade={"persist"})
*
*/
private $webSubSectionFilters;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\WebFilter", mappedBy="entity", cascade={"persist"})
*
*/
private $webFilters;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\WebFilterItem", mappedBy="entity", cascade={"persist"})
*
*/
private $webFilterItems;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\WebList", mappedBy="entity", cascade={"persist"})
*
*/
private $webLists;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\ListModel", mappedBy="entity", cascade={"persist"})
*
*/
private $listModels;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\WebListBlock", mappedBy="entity", cascade={"persist"})
*
*/
private $webListBlocks;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\WebPage", mappedBy="entity", cascade={"persist"})
*
*/
private $webPages;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\WebPageBlock", mappedBy="entity", cascade={"persist"})
*
*/
private $webPageBlocks;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\Media", mappedBy="entity", cascade={"persist"})
*/
private $medias;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\EditionModele", mappedBy="entity", cascade={"persist"})
*/
private $editionModeles;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\EditionModeleRubriqueDynamiqueModele", mappedBy="entity", cascade={"persist","remove"})
*/
private $editionModeleRubriqueDynamiques;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\Tag", mappedBy="entity", cascade={"persist"})
*/
private $tags;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\TagMedia", mappedBy="entity", cascade={"persist"})
*/
private $mediaTags;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\Annonce", mappedBy="entity", cascade={"persist","remove"})
*/
private $annonces;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\TagAnnonce", mappedBy="entity", cascade={"persist","remove"})
*/
private $tagAnnonces;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\AnnonceSpace", mappedBy="entity", cascade={"persist","remove"})
*/
private $annonceSpaces;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\DnsitScoringProfile", mappedBy="entity", cascade={"persist"})
*/
private $scoringProfiles;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\DnsitScoring", mappedBy="entity", cascade={"persist"})
*/
private $scorings;
/**
* @ORM\OneToMany(targetEntity="App\Entity\DiaporamaBlock", mappedBy="entity")
*/
private $diaporamaBlocks;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Diaporama", mappedBy="entity")
*/
private $diaporamas;
/**
* @ORM\OneToMany(targetEntity="App\Entity\EditionLegende", mappedBy="entity")
*/
private $editionLegendes;
/**
* @ORM\OneToMany(targetEntity="App\Entity\EditionLegendeItem", mappedBy="entity")
*/
private $editionLegendeItems;
/**
* @ORM\OneToMany(targetEntity="App\Entity\EditionPlanification", mappedBy="entity")
*/
private $editionPlanifications;
/**
* @var \Doctrine\Common\Collections\Collection
* @ORM\OneToMany(targetEntity="App\Entity\WebMap", mappedBy="entity")
*/
private $webMaps;
/**
* @var \Doctrine\Common\Collections\Collection
* @ORM\OneToMany(targetEntity="App\Entity\DnsitProduct", mappedBy="productEntity")
*/
private $products;
/**
* @var \Doctrine\Common\Collections\Collection
* @ORM\OneToMany(targetEntity="App\Entity\DnsitTranslateProduct", mappedBy="productEntity")
*/
private $translateProducts;
/**
* @var \Doctrine\Common\Collections\Collection
* @ORM\OneToMany(targetEntity="App\Entity\ApidaeCacheConfiguration", mappedBy="entity")
*/
private $apidaeConfigurations;
/**
* @var \Doctrine\Common\Collections\Collection
* @ORM\OneToMany(targetEntity="App\Entity\DeeplTranslationConfig", mappedBy="entity")
*/
private $deeplTranslationConfigs;
/**
* @var \Doctrine\Common\Collections\Collection
* @ORM\OneToMany(targetEntity="App\Entity\DeeplTranslationParam", mappedBy="entity")
*/
private $deeplTranslationParams;
/**
* @var \Doctrine\Common\Collections\Collection
* @ORM\OneToMany(targetEntity="App\Entity\ApidaeTranslationConfig", mappedBy="entity")
*/
private $apidaeTranslationConfigs;
/**
* @var \Doctrine\Common\Collections\Collection
* @ORM\OneToMany(targetEntity="App\Entity\ApidaeWriteConfiguration", mappedBy="entity")
*/
private $apidaeWriteConfigurations;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\UsageStatistic", mappedBy="entity", cascade={"persist"})
*/
private $usageStatistics;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="App\Entity\BridgeUserParameter", mappedBy="entity", cascade={"persist","remove"})
*/
private $bridgeParameters;
public function __construct()
{
$this->products = new ArrayCollection();
$this->translateProducts = new ArrayCollection();
$this->blocks = new ArrayCollection();
$this->blockFields = new ArrayCollection();
$this->blockFieldItems = new ArrayCollection();
$this->selections = new ArrayCollection();
$this->selectionItems = new ArrayCollection();
$this->webEngines = new ArrayCollection();
$this->webEngineSections = new ArrayCollection();
$this->webEngineSubSections = new ArrayCollection();
$this->webSubSectionFilters = new ArrayCollection();
$this->webFilters = new ArrayCollection();
$this->webFilterItems = new ArrayCollection();
$this->webLists = new ArrayCollection();
$this->listModels = new ArrayCollection();
$this->webListBlocks = new ArrayCollection();
$this->webPages = new ArrayCollection();
$this->webPageBlocks = new ArrayCollection();
$this->medias = new ArrayCollection();
$this->editionModeles = new ArrayCollection();
$this->editionModeleRubriqueDynamiques = new ArrayCollection();
$this->tags = new ArrayCollection();
$this->annonces = new ArrayCollection();
$this->tagAnnonces = new ArrayCollection();
$this->mediaTags = new ArrayCollection();
$this->users = new ArrayCollection();
$this->scoringProfiles = new ArrayCollection();
$this->scorings = new ArrayCollection();
$this->editionLegendes = new ArrayCollection();
$this->editionLegendeItems = new ArrayCollection();
$this->diaporamaBlocks = new ArrayCollection();
$this->diaporamas = new ArrayCollection();
$this->editionPlanifications = new ArrayCollection();
$this->webMaps = new ArrayCollection();
$this->sites = new ArrayCollection();
$this->apidaeConfigurations = new ArrayCollection();
$this->deeplTranslationConfigs = new ArrayCollection();
$this->deeplTranslationParams = new ArrayCollection();
$this->apidaeTranslationConfigs = new ArrayCollection();
$this->apidaeWriteConfigurations = new ArrayCollection();
$this->usageStatistics = new ArrayCollection();
$this->bridgeParameters = new ArrayCollection();
}
public function getName(): ?string
{
return $this->name;
}
public function setName(?string $name): self
{
$this->name = $name;
return $this;
}
public function getEntity(): ?int
{
return $this->entity;
}
public function setEntity(?int $entity): self
{
$this->entity = $entity;
return $this;
}
public function getMarking(): ?int
{
return $this->marking;
}
public function setMarking(?int $marking): self
{
$this->marking = $marking;
return $this;
}
public function getParams(): ?array
{
return $this->params;
}
public function setParams(?array $params): self
{
$this->params = $params;
return $this;
}
public function getCreatedAt(): ?\DateTimeInterface
{
return $this->createdAt;
}
public function setCreatedAt(?\DateTimeInterface $createdAt): self
{
$this->createdAt = $createdAt;
return $this;
}
public function getCreatedBy(): ?int
{
return $this->createdBy;
}
public function setCreatedBy(?int $createdBy): self
{
$this->createdBy = $createdBy;
return $this;
}
public function getUpdatedAt(): ?\DateTimeInterface
{
return $this->updatedAt;
}
public function setUpdatedAt(?\DateTimeInterface $updatedAt): self
{
$this->updatedAt = $updatedAt;
return $this;
}
public function getUpdatedBy(): ?int
{
return $this->updatedBy;
}
public function setUpdatedBy(?int $updatedBy): self
{
$this->updatedBy = $updatedBy;
return $this;
}
public function getId(): ?int
{
return $this->id;
}
public function getParent(): ?self
{
return $this->parent;
}
public function setParent(?self $parent): self
{
$this->parent = $parent;
return $this;
}
public function getLeiId(): ?string
{
return $this->leiId;
}
public function setLeiId(?string $leiId): self
{
$this->leiId = $leiId;
return $this;
}
public function getTourinsoftId(): ?string
{
return $this->tourinsoftId;
}
public function setTourinsoftId(?string $tourinsoftId): self
{
$this->tourinsoftId = $tourinsoftId;
return $this;
}
public function getApidaeId(): ?string
{
return $this->apidaeId;
}
public function setApidaeId(?string $apidaeId): self
{
$this->apidaeId = $apidaeId;
return $this;
}
/**
* @return Collection|DnsitProduct[]
*/
public function getProducts(): Collection
{
return $this->products;
}
public function addProduct(DnsitProduct $product): self
{
if (!$this->products->contains($product)) {
$this->products[] = $product;
$product->setProductEntity($this);
}
return $this;
}
public function removeProduct(DnsitProduct $product): self
{
if ($this->products->contains($product)) {
$this->products->removeElement($product);
// set the owning side to null (unless already changed)
if ($product->getProductEntity() === $this) {
$product->setProductEntity(null);
}
}
return $this;
}
/**
* @return Collection|DnsitTranslateProduct[]
*/
public function getTranslateProducts(): Collection
{
return $this->translateProducts;
}
public function addTranslateProduct(DnsitTranslateProduct $product): self
{
if (!$this->translateProducts->contains($product)) {
$this->translateProducts[] = $product;
$product->setProductEntity($this);
}
return $this;
}
public function removeTranslateProduct(DnsitTranslateProduct $product): self
{
if ($this->translateProducts->contains($product)) {
$this->translateProducts->removeElement($product);
// set the owning side to null (unless already changed)
if ($product->getProductEntity() === $this) {
$product->setProductEntity(null);
}
}
return $this;
}
/**
* @return Collection|Annonce[]
*/
public function getAnnonces(): Collection
{
return $this->annonces;
}
public function addAnnonce(Annonce $annonce): self
{
if (!$this->annonces->contains($annonce)) {
$this->annonces[] = $annonce;
$annonce->setEntity($this);
}
return $this;
}
public function removeAnnonces(Annonce $annonce): self
{
if ($this->annonces->contains($annonce)) {
$this->annonces->removeElement($annonce);
// set the owning side to null (unless already changed)
if ($annonce->getEntity() === $this) {
$annonce->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|TagAnnonce[]
*/
public function getTagAnnonces(): Collection
{
return $this->tagAnnonces;
}
public function addTagAnnonce(TagAnnonce $tagAnnonce): self
{
if (!$this->tagAnnonces->contains($tagAnnonce)) {
$this->tagAnnonces[] = $tagAnnonce;
$tagAnnonce->setEntity($this);
}
return $this;
}
public function removeTagAnnonces(TagAnnonce $tagAnnonce): self
{
if ($this->tagAnnonces->contains($tagAnnonce)) {
$this->tagAnnonces->removeElement($tagAnnonce);
// set the owning side to null (unless already changed)
if ($tagAnnonce->getEntity() === $this) {
$tagAnnonce->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|Site[]
*/
public function getSites(): Collection
{
return $this->sites;
}
public function addSite(Site $site): self
{
if (!$this->sites->contains($site)) {
$this->sites[] = $site;
$site->setEntity($this);
}
return $this;
}
public function removeSite(Site $site): self
{
if ($this->sites->contains($site)) {
$this->sites->removeElement($site);
// set the owning side to null (unless already changed)
if ($site->getEntity() === $this) {
$site->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|ApidaeCacheConfiguration[]
*/
public function getApidaeConfigurations(): Collection
{
return $this->apidaeConfigurations;
}
public function addApidaeConfigurations(Site $apidaeConfiguration): self
{
if (!$this->apidaeConfigurations->contains($apidaeConfiguration)) {
$this->apidaeConfigurations[] = $apidaeConfiguration;
$apidaeConfiguration->setEntity($this);
}
return $this;
}
public function removeApidaeConfigurations(Site $apidaeConfiguration): self
{
if ($this->apidaeConfigurations->contains($apidaeConfiguration)) {
$this->apidaeConfigurations->removeElement($apidaeConfiguration);
// set the owning side to null (unless already changed)
if ($apidaeConfiguration->getEntity() === $this) {
$apidaeConfiguration->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|Block[]
*/
public function getBlocks(): Collection
{
return $this->blocks;
}
public function addBlock(Block $block): self
{
if (!$this->blocks->contains($block)) {
$this->blocks[] = $block;
$block->setEntity($this);
}
return $this;
}
public function removeBlock(Block $block): self
{
if ($this->blocks->contains($block)) {
$this->blocks->removeElement($block);
// set the owning side to null (unless already changed)
if ($block->getEntity() === $this) {
$block->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|BlockField[]
*/
public function getBlockFields(): Collection
{
return $this->blockFields;
}
public function addBlockField(BlockField $blockField): self
{
if (!$this->blockFields->contains($blockField)) {
$this->blockFields[] = $blockField;
$blockField->setEntity($this);
}
return $this;
}
public function removeBlockField(BlockField $blockField): self
{
if ($this->blockFields->contains($blockField)) {
$this->blockFields->removeElement($blockField);
// set the owning side to null (unless already changed)
if ($blockField->getEntity() === $this) {
$blockField->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|BlockFieldItem[]
*/
public function getBlockFieldItems(): Collection
{
return $this->blockFieldItems;
}
public function addBlockFieldItem(BlockFieldItem $blockFieldItem): self
{
if (!$this->blockFieldItems->contains($blockFieldItem)) {
$this->blockFieldItems[] = $blockFieldItem;
$blockFieldItem->setEntity($this);
}
return $this;
}
public function removeBlockFieldItem(BlockFieldItem $blockFieldItem): self
{
if ($this->blockFieldItems->contains($blockFieldItem)) {
$this->blockFieldItems->removeElement($blockFieldItem);
// set the owning side to null (unless already changed)
if ($blockFieldItem->getEntity() === $this) {
$blockFieldItem->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|Selection[]
*/
public function getSelections(): Collection
{
return $this->selections;
}
public function addSelection(Selection $selection): self
{
if (!$this->selections->contains($selection)) {
$this->selections[] = $selection;
$selection->setEntity($this);
}
return $this;
}
public function removeSelection(Selection $selection): self
{
if ($this->selections->contains($selection)) {
$this->selections->removeElement($selection);
// set the owning side to null (unless already changed)
if ($selection->getEntity() === $this) {
$selection->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|SelectionItem[]
*/
public function getSelectionItems(): Collection
{
return $this->selectionItems;
}
public function addSelectionItem(SelectionItem $selectionItem): self
{
if (!$this->selectionItems->contains($selectionItem)) {
$this->selectionItems[] = $selectionItem;
$selectionItem->setEntity($this);
}
return $this;
}
public function removeSelectionItem(SelectionItem $selectionItem): self
{
if ($this->selectionItems->contains($selectionItem)) {
$this->selectionItems->removeElement($selectionItem);
// set the owning side to null (unless already changed)
if ($selectionItem->getEntity() === $this) {
$selectionItem->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|WebEngine[]
*/
public function getWebEngines(): Collection
{
return $this->webEngines;
}
public function addWebEngine(WebEngine $webEngine): self
{
if (!$this->webEngines->contains($webEngine)) {
$this->webEngines[] = $webEngine;
$webEngine->setEntity($this);
}
return $this;
}
public function removeWebEngine(WebEngine $webEngine): self
{
if ($this->webEngines->contains($webEngine)) {
$this->webEngines->removeElement($webEngine);
// set the owning side to null (unless already changed)
if ($webEngine->getEntity() === $this) {
$webEngine->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|WebEngineSection[]
*/
public function getWebEngineSections(): Collection
{
return $this->webEngineSections;
}
public function addWebEngineSection(WebEngineSection $webEngineSection): self
{
if (!$this->webEngineSections->contains($webEngineSection)) {
$this->webEngineSections[] = $webEngineSection;
$webEngineSection->setEntity($this);
}
return $this;
}
public function removeWebEngineSection(WebEngineSection $webEngineSection): self
{
if ($this->webEngineSections->contains($webEngineSection)) {
$this->webEngineSections->removeElement($webEngineSection);
// set the owning side to null (unless already changed)
if ($webEngineSection->getEntity() === $this) {
$webEngineSection->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|WebEngineSubSection[]
*/
public function getWebEngineSubSections(): Collection
{
return $this->webEngineSubSections;
}
public function addWebEngineSubSection(WebEngineSubSection $webEngineSubSection): self
{
if (!$this->webEngineSubSections->contains($webEngineSubSection)) {
$this->webEngineSubSections[] = $webEngineSubSection;
$webEngineSubSection->setEntity($this);
}
return $this;
}
public function removeWebEngineSubSection(WebEngineSubSection $webEngineSubSection): self
{
if ($this->webEngineSubSections->contains($webEngineSubSection)) {
$this->webEngineSubSections->removeElement($webEngineSubSection);
// set the owning side to null (unless already changed)
if ($webEngineSubSection->getEntity() === $this) {
$webEngineSubSection->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|WebSubSectionFilter[]
*/
public function getWebSubSectionFilters(): Collection
{
return $this->webSubSectionFilters;
}
public function addWebSubSectionFilter(WebSubSectionFilter $webSubSectionFilter): self
{
if (!$this->webSubSectionFilters->contains($webSubSectionFilter)) {
$this->webSubSectionFilters[] = $webSubSectionFilter;
$webSubSectionFilter->setEntity($this);
}
return $this;
}
public function removeWebSubSectionFilter(WebSubSectionFilter $webSubSectionFilter): self
{
if ($this->webSubSectionFilters->contains($webSubSectionFilter)) {
$this->webSubSectionFilters->removeElement($webSubSectionFilter);
// set the owning side to null (unless already changed)
if ($webSubSectionFilter->getEntity() === $this) {
$webSubSectionFilter->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|WebFilter[]
*/
public function getWebFilters(): Collection
{
return $this->webFilters;
}
public function addWebFilter(WebFilter $webFilter): self
{
if (!$this->webFilters->contains($webFilter)) {
$this->webFilters[] = $webFilter;
$webFilter->setEntity($this);
}
return $this;
}
public function removeWebFilter(WebFilter $webFilter): self
{
if ($this->webFilters->contains($webFilter)) {
$this->webFilters->removeElement($webFilter);
// set the owning side to null (unless already changed)
if ($webFilter->getEntity() === $this) {
$webFilter->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|WebFilterItem[]
*/
public function getWebFilterItems(): Collection
{
return $this->webFilterItems;
}
public function addWebFilterItem(WebFilterItem $webFilterItem): self
{
if (!$this->webFilterItems->contains($webFilterItem)) {
$this->webFilterItems[] = $webFilterItem;
$webFilterItem->setEntity($this);
}
return $this;
}
public function removeWebFilterItem(WebFilterItem $webFilterItem): self
{
if ($this->webFilterItems->contains($webFilterItem)) {
$this->webFilterItems->removeElement($webFilterItem);
// set the owning side to null (unless already changed)
if ($webFilterItem->getEntity() === $this) {
$webFilterItem->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|WebList[]
*/
public function getWebLists(): Collection
{
return $this->webLists;
}
public function addWebList(WebList $webList): self
{
if (!$this->webLists->contains($webList)) {
$this->webLists[] = $webList;
$webList->setEntity($this);
}
return $this;
}
public function removeWebList(WebList $webList): self
{
if ($this->webLists->contains($webList)) {
$this->webLists->removeElement($webList);
// set the owning side to null (unless already changed)
if ($webList->getEntity() === $this) {
$webList->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|ListModel[]
*/
public function getListModels(): Collection
{
return $this->listModels;
}
public function addListModel(ListModel $listModel): self
{
if (!$this->listModels->contains($listModel)) {
$this->listModels[] = $listModel;
$listModel->setEntity($this);
}
return $this;
}
public function removeListModel(ListModel $listModel): self
{
if ($this->listModels->contains($listModel)) {
$this->listModels->removeElement($listModel);
// set the owning side to null (unless already changed)
if ($listModel->getEntity() === $this) {
$listModel->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|WebListBlock[]
*/
public function getWebListBlocks(): Collection
{
return $this->webListBlocks;
}
public function addWebListBlock(WebListBlock $webListBlock): self
{
if (!$this->webListBlocks->contains($webListBlock)) {
$this->webListBlocks[] = $webListBlock;
$webListBlock->setEntity($this);
}
return $this;
}
public function removeWebListBlock(WebListBlock $webListBlock): self
{
if ($this->webListBlocks->contains($webListBlock)) {
$this->webListBlocks->removeElement($webListBlock);
// set the owning side to null (unless already changed)
if ($webListBlock->getEntity() === $this) {
$webListBlock->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|WebPage[]
*/
public function getWebPages(): Collection
{
return $this->webPages;
}
public function addWebPage(WebPage $webPage): self
{
if (!$this->webPages->contains($webPage)) {
$this->webPages[] = $webPage;
$webPage->setEntity($this);
}
return $this;
}
public function removeWebPage(WebPage $webPage): self
{
if ($this->webPages->contains($webPage)) {
$this->webPages->removeElement($webPage);
// set the owning side to null (unless already changed)
if ($webPage->getEntity() === $this) {
$webPage->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|WebPageBlock[]
*/
public function getWebPageBlocks(): Collection
{
return $this->webPageBlocks;
}
public function addWebPageBlock(WebPageBlock $webPageBlock): self
{
if (!$this->webPageBlocks->contains($webPageBlock)) {
$this->webPageBlocks[] = $webPageBlock;
$webPageBlock->setEntity($this);
}
return $this;
}
public function removeWebPageBlock(WebPageBlock $webPageBlock): self
{
if ($this->webPageBlocks->contains($webPageBlock)) {
$this->webPageBlocks->removeElement($webPageBlock);
// set the owning side to null (unless already changed)
if ($webPageBlock->getEntity() === $this) {
$webPageBlock->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|Media[]
*/
public function getMedias(): Collection
{
return $this->webFilters;
}
public function addMedia(Media $media): self
{
if (!$this->medias->contains($media)) {
$this->medias[] = $media;
$media->setEntity($this);
}
return $this;
}
public function removeMedia(Media $media): self
{
if ($this->medias->contains($media)) {
$this->medias->removeElement($media);
// set the owning side to null (unless already changed)
if ($media->getEntity() === $this) {
$media->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|EditionModele[]
*/
public function getEditionModeles(): Collection
{
return $this->editionModeles;
}
public function addEditionModele(EditionModele $editionModele): self
{
if (!$this->editionModeles->contains($editionModele)) {
$this->editionModeles[] = $editionModele;
$editionModele->setEntity($this);
}
return $this;
}
public function removeEditionModele(EditionModele $editionModele): self
{
if ($this->editionModeles->contains($editionModele)) {
$this->editionModeles->removeElement($editionModele);
// set the owning side to null (unless already changed)
if ($editionModele->getEntity() === $this) {
$editionModele->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|EditionModeleRubriqueDynamiqueModele[]
*/
public function getEditionModeleRubriqueDynamiques(): Collection
{
return $this->editionModeleRubriqueDynamiques;
}
public function addEditionModeleRubriqueDynamique(EditionModeleRubriqueDynamiqueModele $editionModeleRubriqueDynamique): self
{
if (!$this->editionModeleRubriqueDynamiques->contains($editionModeleRubriqueDynamique)) {
$this->editionModeleRubriqueDynamiques[] = $editionModeleRubriqueDynamique;
$editionModeleRubriqueDynamique->setEntity($this);
}
return $this;
}
public function removeEditionModeleRubriqueDynamique(EditionModeleRubriqueDynamiqueModele $editionModeleRubriqueDynamique): self
{
if ($this->editionModeleRubriqueDynamiques->contains($editionModeleRubriqueDynamique)) {
$this->editionModeleRubriqueDynamiques->removeElement($editionModeleRubriqueDynamique);
// set the owning side to null (unless already changed)
if ($editionModeleRubriqueDynamique->getEntity() === $this) {
$editionModeleRubriqueDynamique->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|Tag[]
*/
public function getTags(): Collection
{
return $this->tags;
}
public function addTag(Tag $tag): self
{
if (!$this->tags->contains($tag)) {
$this->tags[] = $tag;
$tag->setEntity($this);
}
return $this;
}
public function removeTag(Tag $tag): self
{
if ($this->tags->contains($tag)) {
$this->tags->removeElement($tag);
// set the owning side to null (unless already changed)
if ($tag->getEntity() === $this) {
$tag->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|TagMedia[]
*/
public function getMediaTags(): Collection
{
return $this->mediaTags;
}
public function addMediaTag(TagMedia $tagMedia): self
{
if (!$this->mediaTags->contains($tagMedia)) {
$this->mediaTags[] = $tagMedia;
$tagMedia->setEntity($this);
}
return $this;
}
public function removeMediaTag(TagMedia $tagMedia): self
{
if ($this->mediaTags->contains($tagMedia)) {
$this->mediaTags->removeElement($tagMedia);
// set the owning side to null (unless already changed)
if ($tagMedia->getEntity() === $this) {
$tagMedia->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|User[]
*/
public function getUsers(): Collection
{
return $this->users;
}
public function addUser(User $user): self
{
if (!$this->users->contains($user)) {
$this->users[] = $user;
$user->setEntity($this);
}
return $this;
}
public function removeUser(User $user): self
{
if ($this->users->contains($user)) {
$this->users->removeElement($user);
// set the owning side to null (unless already changed)
if ($user->getEntity() === $this) {
$user->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|DnsitScoringProfile[]
*/
public function getScoringProfiles(): Collection
{
return $this->scoringProfiles;
}
public function addScoringProfile(DnsitScoringProfile $scoringProfile): self
{
if (!$this->scoringProfiles->contains($scoringProfile)) {
$this->scoringProfiles[] = $scoringProfile;
$scoringProfile->setEntity($this);
}
return $this;
}
public function removeScoringProfile(DnsitScoringProfile $scoringProfile): self
{
if ($this->scoringProfiles->contains($scoringProfile)) {
$this->scoringProfiles->removeElement($scoringProfile);
// set the owning side to null (unless already changed)
if ($scoringProfile->getEntity() === $this) {
$scoringProfile->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|DnsitScoring[]
*/
public function getScorings(): Collection
{
return $this->scorings;
}
public function addScoring(DnsitScoring $scorings): self
{
if (!$this->scorings->contains($scorings)) {
$this->scorings[] = $scorings;
$scorings->setEntity($this);
}
return $this;
}
public function removeScoring(DnsitScoring $scorings): self
{
if ($this->scorings->contains($scorings)) {
$this->scorings->removeElement($scorings);
// set the owning side to null (unless already changed)
if ($scorings->getEntity() === $this) {
$scorings->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|DiaporamaBlock[]
*/
public function getDiaporamaBlocks(): Collection
{
return $this->diaporamaBlocks;
}
public function addDiaporamaBlock(DiaporamaBlock $diaporamaBlock): self
{
if (!$this->diaporamaBlocks->contains($diaporamaBlock)) {
$this->diaporamaBlocks[] = $diaporamaBlock;
$diaporamaBlock->setEntity($this);
}
return $this;
}
public function removeDiaporamaBlock(DiaporamaBlock $diaporamaBlock): self
{
if ($this->diaporamaBlocks->contains($diaporamaBlock)) {
$this->diaporamaBlocks->removeElement($diaporamaBlock);
// set the owning side to null (unless already changed)
if ($diaporamaBlock->getEntity() === $this) {
$diaporamaBlock->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|Diaporama[]
*/
public function getDiaporamas(): Collection
{
return $this->diaporamas;
}
public function addDiaporama(Diaporama $diaporama): self
{
if (!$this->diaporamas->contains($diaporama)) {
$this->diaporamas[] = $diaporama;
$diaporama->setEntity($this);
}
return $this;
}
public function removeDiaporama(Diaporama $diaporama): self
{
if ($this->diaporamas->contains($diaporama)) {
$this->diaporamas->removeElement($diaporama);
// set the owning side to null (unless already changed)
if ($diaporama->getEntity() === $this) {
$diaporama->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|EditionLegende[]
*/
public function getEditionLegendes(): Collection
{
return $this->editionLegendes;
}
public function addEditionLegende(EditionLegende $editionLegende): self
{
if (!$this->editionLegendes->contains($editionLegende)) {
$this->editionLegendes[] = $editionLegende;
$editionLegende->setEntity($this);
}
return $this;
}
public function removeEditionLegende(EditionLegende $editionLegende): self
{
if ($this->editionLegendes->contains($editionLegende)) {
$this->editionLegendes->removeElement($editionLegende);
// set the owning side to null (unless already changed)
if ($editionLegende->getEntity() === $this) {
$editionLegende->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|EditionLegendeItem[]
*/
public function getEditionLegendeItems(): Collection
{
return $this->editionLegendeItems;
}
public function addEditionLegendeItem(EditionLegendeItem $editionLegendeItem): self
{
if (!$this->editionLegendeItems->contains($editionLegendeItem)) {
$this->editionLegendeItems[] = $editionLegendeItem;
$editionLegendeItem->setEntity($this);
}
return $this;
}
public function removeEditionLegendeItem(EditionLegendeItem $editionLegendeItem): self
{
if ($this->editionLegendeItems->contains($editionLegendeItem)) {
$this->editionLegendeItems->removeElement($editionLegendeItem);
// set the owning side to null (unless already changed)
if ($editionLegendeItem->getEntity() === $this) {
$editionLegendeItem->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|EditionPlanification[]
*/
public function getEditionPlanifications(): Collection
{
return $this->editionPlanifications;
}
public function addEditionPlanification(EditionPlanification $editionPlanification): self
{
if (!$this->editionPlanifications->contains($editionPlanification)) {
$this->editionPlanifications[] = $editionPlanification;
$editionPlanification->setEntity($this);
}
return $this;
}
public function removeEditionPlanification(EditionPlanification $editionPlanification): self
{
if ($this->editionPlanifications->contains($editionPlanification)) {
$this->editionPlanifications->removeElement($editionPlanification);
// set the owning side to null (unless already changed)
if ($editionPlanification->getEntity() === $this) {
$editionPlanification->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|WebMap[]
*/
public function getWebMaps(): Collection
{
return $this->webMaps;
}
public function addWebMap(WebMap $webMap): self
{
if (!$this->webMaps->contains($webMap)) {
$this->webMaps[] = $webMap;
$webMap->setEntity($this);
}
return $this;
}
public function removeWebMap(WebMap $webMap): self
{
if ($this->webMaps->contains($webMap)) {
$this->webMaps->removeElement($webMap);
// set the owning side to null (unless already changed)
if ($webMap->getEntity() === $this) {
$webMap->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|DeeplTranslationConfig[]
*/
public function getDeeplTranslationConfigs(): Collection
{
return $this->deeplTranslationConfigs;
}
public function addDeeplTranslationConfig(DeeplTranslationConfig $deeplTranslationConfig): self
{
if (!$this->deeplTranslationConfigs->contains($deeplTranslationConfig)) {
$this->deeplTranslationConfigs[] = $deeplTranslationConfig;
$deeplTranslationConfig->setEntity($this);
}
return $this;
}
public function removeDeeplTranslationConfig(DeeplTranslationConfig $deeplTranslationConfig): self
{
if ($this->deeplTranslationConfigs->contains($deeplTranslationConfig)) {
$this->deeplTranslationConfigs->removeElement($deeplTranslationConfig);
// set the owning side to null (unless already changed)
if ($deeplTranslationConfig->getEntity() === $this) {
$deeplTranslationConfig->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|DeeplTranslationParam[]
*/
public function getDeeplTranslationParams(): Collection
{
return $this->deeplTranslationParams;
}
public function addDeeplTranslationParam(DeeplTranslationParam $deeplTranslationParam): self
{
if (!$this->deeplTranslationParams->contains($deeplTranslationParam)) {
$this->deeplTranslationParams[] = $deeplTranslationParam;
$deeplTranslationParam->setEntity($this);
}
return $this;
}
public function removeDeeplTranslationParam(DeeplTranslationParam $deeplTranslationParam): self
{
if ($this->deeplTranslationParams->contains($deeplTranslationParam)) {
$this->deeplTranslationParams->removeElement($deeplTranslationParam);
// set the owning side to null (unless already changed)
if ($deeplTranslationParam->getEntity() === $this) {
$deeplTranslationParam->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|ApidaeTranslationConfig[]
*/
public function getApidaeTranslationConfigs(): Collection
{
return $this->apidaeTranslationConfigs;
}
public function addApidaeTranslationConfig(ApidaeTranslationConfig $apidaeTranslationConfig): self
{
if (!$this->apidaeTranslationConfigs->contains($apidaeTranslationConfig)) {
$this->apidaeTranslationConfigs[] = $apidaeTranslationConfig;
$apidaeTranslationConfig->setEntity($this);
}
return $this;
}
public function removeApidaeTranslationConfig(ApidaeTranslationConfig $apidaeTranslationConfig): self
{
if ($this->apidaeTranslationConfigs->contains($apidaeTranslationConfig)) {
$this->apidaeTranslationConfigs->removeElement($apidaeTranslationConfig);
// set the owning side to null (unless already changed)
if ($apidaeTranslationConfig->getEntity() === $this) {
$apidaeTranslationConfig->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|ApidaeWriteConfigurations[]
*/
public function getApidaeWriteConfigurations(): Collection
{
return $this->apidaeWriteConfigurations;
}
public function addApidaeWriteConfiguration(ApidaeWriteConfiguration $apidaeWriteConfiguration): self
{
if (!$this->apidaeWriteConfigurations->contains($apidaeWriteConfiguration)) {
$this->apidaeWriteConfigurations[] = $apidaeWriteConfiguration;
$apidaeWriteConfiguration->setEntity($this);
}
return $this;
}
public function removeApidaeWriteConfiguration(ApidaeWriteConfiguration $apidaeWriteConfiguration): self
{
if ($this->apidaeWriteConfigurations->contains($apidaeWriteConfiguration)) {
$this->apidaeWriteConfigurations->removeElement($apidaeWriteConfiguration);
// set the owning side to null (unless already changed)
if ($apidaeWriteConfiguration->getEntity() === $this) {
$apidaeWriteConfiguration->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|UsageStatistic[]
*/
public function getUsageStatistics(): Collection
{
return $this->usageStatistics;
}
public function addUsageStatistic(UsageStatistic $usageStatistic): self
{
if (!$this->usageStatistics->contains($usageStatistic)) {
$this->usageStatistics[] = $usageStatistic;
$usageStatistic->setEntity($this);
}
return $this;
}
public function removeUsageStatistic(UsageStatistic $usageStatistic): self
{
if ($this->usageStatistics->contains($usageStatistic)) {
$this->usageStatistics->removeElement($usageStatistic);
// set the owning side to null (unless already changed)
if ($usageStatistic->getEntity() === $this) {
$usageStatistic->setEntity(null);
}
}
return $this;
}
/**
* @return Collection|BridgeUserParameter[]
*/
public function getBridgeParameters(): Collection
{
return $this->bridgeParameters;
}
public function addBridgeParameter(BridgeUserParameter $parameter): self
{
if (!$this->bridgeParameters->contains($parameter)) {
$this->bridgeParameters[] = $parameter;
$parameter->setEntity($this);
}
return $this;
}
public function removeBridgeParameter(BridgeUserParameter $parameter): self
{
if ($this->bridgeParameters->contains($parameter)) {
$this->bridgeParameters->removeElement($parameter);
// set the owning side to null (unless already changed)
if ($parameter->getEntity() === $this) {
$parameter->setEntity(null);
}
}
return $this;
}
}