src/Entity/DnsitEntity.php line 15

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\Common\Collections\ArrayCollection;
  4. use Doctrine\Common\Collections\Collection;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7.  * DnsitEntity
  8.  *
  9.  * @ORM\Table(name="dnsit_entity")
  10.  * @ORM\Entity(repositoryClass="App\Repository\DnsitEntityRepository")
  11.  */
  12. class DnsitEntity
  13. {
  14.     /**
  15.      * @ORM\Id()
  16.      * @ORM\GeneratedValue()
  17.      * @ORM\Column(type="integer")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @var int|null
  22.      *
  23.      * @ORM\Column(name="lei_id", type="bigint", nullable=true, unique=true)
  24.      */
  25.     private $leiId;
  26.     /**
  27.      * @var string|null
  28.      *
  29.      * @ORM\Column(name="tourinsoft_id", type="string", length=255, nullable=true, unique=true)
  30.      */
  31.     private $tourinsoftId;
  32.     /**
  33.      * @var string|null
  34.      *
  35.      * @ORM\Column(name="apidae_id", type="string", length=255, nullable=true)
  36.      */
  37.     private $apidaeId;
  38.     /**
  39.      * @var string|null
  40.      *
  41.      * @ORM\Column(name="name", type="string", length=255, nullable=true)
  42.      */
  43.     private $name;
  44.     /**
  45.      * @var int|null
  46.      *
  47.      * @ORM\Column(name="entity", type="bigint", nullable=true)
  48.      */
  49.     private $entity;
  50.     /**
  51.      * @var int|null
  52.      *
  53.      * @ORM\Column(name="marking", type="smallint", nullable=true)
  54.      */
  55.     private $marking;
  56.     /**
  57.      *
  58.      *
  59.      * @ORM\Column(name="params", type="json", nullable=true)
  60.      */
  61.     private $params;
  62.     /**
  63.      * @var \DateTime|null
  64.      *
  65.      * @ORM\Column(name="created_at", type="datetime", nullable=true)
  66.      */
  67.     private $createdAt;
  68.     /**
  69.      * @var int|null
  70.      *
  71.      * @ORM\Column(name="created_by", type="bigint", nullable=true)
  72.      */
  73.     private $createdBy;
  74.     /**
  75.      * @var \DateTime|null
  76.      *
  77.      * @ORM\Column(name="updated_at", type="datetime", nullable=true)
  78.      */
  79.     private $updatedAt;
  80.     /**
  81.      * @var int|null
  82.      *
  83.      * @ORM\Column(name="updated_by", type="bigint", nullable=true)
  84.      */
  85.     private $updatedBy;
  86.     /**
  87.      * @var \App\Entity\DnsitEntity
  88.      *
  89.      * @ORM\ManyToOne(targetEntity="App\Entity\DnsitEntity")
  90.      * @ORM\JoinColumns({
  91.      *   @ORM\JoinColumn(name="parent_id", referencedColumnName="id")
  92.      * })
  93.      */
  94.     private $parent;
  95.     /**
  96.      * @var \Doctrine\Common\Collections\Collection
  97.      *
  98.      * @ORM\OneToMany(targetEntity="App\Entity\User", mappedBy="entity", cascade={"persist"})
  99.      */
  100.     private $users;
  101.     /**
  102.      * @var \Doctrine\Common\Collections\Collection
  103.      *
  104.      * @ORM\OneToMany(targetEntity="App\Entity\ApiChangeHistory", mappedBy="dnsitEntity")
  105.      */
  106.     private $apiChanges;
  107.     /**
  108.      * @var \Doctrine\Common\Collections\Collection
  109.      *
  110.      * @ORM\OneToMany(targetEntity="App\Entity\Site", mappedBy="entity", cascade={"persist"})
  111.      */
  112.     private $sites;
  113.     /**
  114.      * @var \Doctrine\Common\Collections\Collection
  115.      *
  116.      * @ORM\OneToMany(targetEntity="App\Entity\Block", mappedBy="entity", cascade={"persist"})
  117.      */
  118.     private $blocks;
  119.     /**
  120.      * @var \Doctrine\Common\Collections\Collection
  121.      *
  122.      * @ORM\OneToMany(targetEntity="App\Entity\BlockField", mappedBy="entity", cascade={"persist"})
  123.      */
  124.     private $blockFields;
  125.     /**
  126.      * @var \Doctrine\Common\Collections\Collection
  127.      *
  128.      * @ORM\OneToMany(targetEntity="App\Entity\BlockFieldItem", mappedBy="entity", cascade={"persist"})
  129.      */
  130.     private $blockFieldItems;
  131.     /**
  132.      * @var \Doctrine\Common\Collections\Collection
  133.      *
  134.      * @ORM\OneToMany(targetEntity="App\Entity\Selection", mappedBy="entity", cascade={"persist"})
  135.      *
  136.      */
  137.     private $selections;
  138.     /**
  139.      * @var \Doctrine\Common\Collections\Collection
  140.      *
  141.      * @ORM\OneToMany(targetEntity="App\Entity\SelectionItem", mappedBy="entity", cascade={"persist"})
  142.      *
  143.      */
  144.     private $selectionItems;
  145.     /**
  146.      * @var \Doctrine\Common\Collections\Collection
  147.      *
  148.      * @ORM\OneToMany(targetEntity="App\Entity\WebEngine", mappedBy="entity", cascade={"persist"})
  149.      *
  150.      */
  151.     private $webEngines;
  152.     /**
  153.      * @var \Doctrine\Common\Collections\Collection
  154.      *
  155.      * @ORM\OneToMany(targetEntity="App\Entity\WebEngineSection", mappedBy="entity", cascade={"persist"})
  156.      *
  157.      */
  158.     private $webEngineSections;
  159.     /**
  160.      * @var \Doctrine\Common\Collections\Collection
  161.      *
  162.      * @ORM\OneToMany(targetEntity="App\Entity\WebEngineSubSection", mappedBy="entity", cascade={"persist"})
  163.      *
  164.      */
  165.     private $webEngineSubSections;
  166.     /**
  167.      * @var \Doctrine\Common\Collections\Collection
  168.      *
  169.      * @ORM\OneToMany(targetEntity="App\Entity\WebSubSectionFilter", mappedBy="entity", cascade={"persist"})
  170.      *
  171.      */
  172.     private $webSubSectionFilters;
  173.     /**
  174.      * @var \Doctrine\Common\Collections\Collection
  175.      *
  176.      * @ORM\OneToMany(targetEntity="App\Entity\WebFilter", mappedBy="entity", cascade={"persist"})
  177.      *
  178.      */
  179.     private $webFilters;
  180.     /**
  181.      * @var \Doctrine\Common\Collections\Collection
  182.      *
  183.      * @ORM\OneToMany(targetEntity="App\Entity\WebFilterItem", mappedBy="entity", cascade={"persist"})
  184.      *
  185.      */
  186.     private $webFilterItems;
  187.     /**
  188.      * @var \Doctrine\Common\Collections\Collection
  189.      *
  190.      * @ORM\OneToMany(targetEntity="App\Entity\WebList", mappedBy="entity", cascade={"persist"})
  191.      *
  192.      */
  193.     private $webLists;
  194.     /**
  195.      * @var \Doctrine\Common\Collections\Collection
  196.      *
  197.      * @ORM\OneToMany(targetEntity="App\Entity\ListModel", mappedBy="entity", cascade={"persist"})
  198.      *
  199.      */
  200.     private $listModels;
  201.     /**
  202.      * @var \Doctrine\Common\Collections\Collection
  203.      *
  204.      * @ORM\OneToMany(targetEntity="App\Entity\WebListBlock", mappedBy="entity", cascade={"persist"})
  205.      *
  206.      */
  207.     private $webListBlocks;
  208.     /**
  209.      * @var \Doctrine\Common\Collections\Collection
  210.      *
  211.      * @ORM\OneToMany(targetEntity="App\Entity\WebPage", mappedBy="entity", cascade={"persist"})
  212.      *
  213.      */
  214.     private $webPages;
  215.     /**
  216.      * @var \Doctrine\Common\Collections\Collection
  217.      *
  218.      * @ORM\OneToMany(targetEntity="App\Entity\WebPageBlock", mappedBy="entity", cascade={"persist"})
  219.      *
  220.      */
  221.     private $webPageBlocks;
  222.     /**
  223.      * @var \Doctrine\Common\Collections\Collection
  224.      *
  225.      * @ORM\OneToMany(targetEntity="App\Entity\Media", mappedBy="entity", cascade={"persist"})
  226.      */
  227.     private $medias;
  228.     /**
  229.      * @var \Doctrine\Common\Collections\Collection
  230.      *
  231.      * @ORM\OneToMany(targetEntity="App\Entity\EditionModele", mappedBy="entity", cascade={"persist"})
  232.      */
  233.     private $editionModeles;
  234.     /**
  235.      * @var \Doctrine\Common\Collections\Collection
  236.      *
  237.      * @ORM\OneToMany(targetEntity="App\Entity\EditionModeleRubriqueDynamiqueModele", mappedBy="entity", cascade={"persist","remove"})
  238.      */
  239.     private $editionModeleRubriqueDynamiques;
  240.     /**
  241.      * @var \Doctrine\Common\Collections\Collection
  242.      *
  243.      * @ORM\OneToMany(targetEntity="App\Entity\Tag", mappedBy="entity", cascade={"persist"})
  244.      */
  245.     private $tags;
  246.     /**
  247.      * @var \Doctrine\Common\Collections\Collection
  248.      *
  249.      * @ORM\OneToMany(targetEntity="App\Entity\TagMedia", mappedBy="entity", cascade={"persist"})
  250.      */
  251.     private $mediaTags;
  252.     /**
  253.      * @var \Doctrine\Common\Collections\Collection
  254.      *
  255.      * @ORM\OneToMany(targetEntity="App\Entity\Annonce", mappedBy="entity", cascade={"persist","remove"})
  256.      */
  257.     private $annonces;
  258.     /**
  259.      * @var \Doctrine\Common\Collections\Collection
  260.      *
  261.      * @ORM\OneToMany(targetEntity="App\Entity\TagAnnonce", mappedBy="entity", cascade={"persist","remove"})
  262.      */
  263.     private $tagAnnonces;
  264.     /**
  265.      * @var \Doctrine\Common\Collections\Collection
  266.      *
  267.      * @ORM\OneToMany(targetEntity="App\Entity\AnnonceSpace", mappedBy="entity", cascade={"persist","remove"})
  268.      */
  269.     private $annonceSpaces;
  270.     /**
  271.      * @var \Doctrine\Common\Collections\Collection
  272.      *
  273.      * @ORM\OneToMany(targetEntity="App\Entity\DnsitScoringProfile", mappedBy="entity", cascade={"persist"})
  274.      */
  275.     private $scoringProfiles;
  276.     /**
  277.      * @var \Doctrine\Common\Collections\Collection
  278.      *
  279.      * @ORM\OneToMany(targetEntity="App\Entity\DnsitScoring", mappedBy="entity", cascade={"persist"})
  280.      */
  281.     private $scorings;
  282.     /**
  283.      * @ORM\OneToMany(targetEntity="App\Entity\DiaporamaBlock", mappedBy="entity")
  284.      */
  285.     private $diaporamaBlocks;
  286.     /**
  287.      * @ORM\OneToMany(targetEntity="App\Entity\Diaporama", mappedBy="entity")
  288.      */
  289.     private $diaporamas;
  290.     /**
  291.      * @ORM\OneToMany(targetEntity="App\Entity\EditionLegende", mappedBy="entity")
  292.      */
  293.     private $editionLegendes;
  294.     /**
  295.      * @ORM\OneToMany(targetEntity="App\Entity\EditionLegendeItem", mappedBy="entity")
  296.      */
  297.     private $editionLegendeItems;
  298.     /**
  299.      * @ORM\OneToMany(targetEntity="App\Entity\EditionPlanification", mappedBy="entity")
  300.      */
  301.     private $editionPlanifications;
  302.     /**
  303.      * @var \Doctrine\Common\Collections\Collection
  304.      * @ORM\OneToMany(targetEntity="App\Entity\WebMap", mappedBy="entity")
  305.      */
  306.     private $webMaps;
  307.     /**
  308.      * @var \Doctrine\Common\Collections\Collection
  309.      * @ORM\OneToMany(targetEntity="App\Entity\DnsitProduct", mappedBy="productEntity")
  310.      */
  311.     private $products;
  312.     /**
  313.      * @var \Doctrine\Common\Collections\Collection
  314.      * @ORM\OneToMany(targetEntity="App\Entity\DnsitTranslateProduct", mappedBy="productEntity")
  315.      */
  316.     private $translateProducts;
  317.     /**
  318.      * @var \Doctrine\Common\Collections\Collection
  319.      * @ORM\OneToMany(targetEntity="App\Entity\ApidaeCacheConfiguration", mappedBy="entity")
  320.      */
  321.     private $apidaeConfigurations;
  322.     /**
  323.      * @var \Doctrine\Common\Collections\Collection
  324.      * @ORM\OneToMany(targetEntity="App\Entity\DeeplTranslationConfig", mappedBy="entity")
  325.      */
  326.     private $deeplTranslationConfigs;
  327.     /**
  328.      * @var \Doctrine\Common\Collections\Collection
  329.      * @ORM\OneToMany(targetEntity="App\Entity\DeeplTranslationParam", mappedBy="entity")
  330.      */
  331.     private $deeplTranslationParams;
  332.     /**
  333.      * @var \Doctrine\Common\Collections\Collection
  334.      * @ORM\OneToMany(targetEntity="App\Entity\ApidaeTranslationConfig", mappedBy="entity")
  335.      */
  336.     private $apidaeTranslationConfigs;
  337.     /**
  338.      * @var \Doctrine\Common\Collections\Collection
  339.      * @ORM\OneToMany(targetEntity="App\Entity\ApidaeWriteConfiguration", mappedBy="entity")
  340.      */
  341.     private $apidaeWriteConfigurations;
  342.     /**
  343.      * @var \Doctrine\Common\Collections\Collection
  344.      *
  345.      * @ORM\OneToMany(targetEntity="App\Entity\UsageStatistic", mappedBy="entity", cascade={"persist"})
  346.      */
  347.     private $usageStatistics;
  348.     /**
  349.      * @var \Doctrine\Common\Collections\Collection
  350.      *
  351.      * @ORM\OneToMany(targetEntity="App\Entity\BridgeUserParameter", mappedBy="entity", cascade={"persist","remove"})
  352.      */
  353.     private $bridgeParameters;
  354.     /**
  355.      * @var \Doctrine\Common\Collections\Collection
  356.      *
  357.      * @ORM\OneToMany(targetEntity="App\Entity\GuideAccueilDestinataire", mappedBy="entity", cascade={"persist","remove"})
  358.      */
  359.     private $guideAccueilDestinataires;
  360.     public function __construct()
  361.     {
  362.         $this->products = new ArrayCollection();
  363.         $this->translateProducts = new ArrayCollection();
  364.         $this->blocks = new ArrayCollection();
  365.         $this->blockFields = new ArrayCollection();
  366.         $this->blockFieldItems = new ArrayCollection();
  367.         $this->selections = new ArrayCollection();
  368.         $this->selectionItems = new ArrayCollection();
  369.         $this->webEngines = new ArrayCollection();
  370.         $this->webEngineSections = new ArrayCollection();
  371.         $this->webEngineSubSections = new ArrayCollection();
  372.         $this->webSubSectionFilters = new ArrayCollection();
  373.         $this->webFilters = new ArrayCollection();
  374.         $this->webFilterItems = new ArrayCollection();
  375.         $this->webLists = new ArrayCollection();
  376.         $this->listModels = new ArrayCollection();
  377.         $this->webListBlocks = new ArrayCollection();
  378.         $this->webPages = new ArrayCollection();
  379.         $this->webPageBlocks = new ArrayCollection();
  380.         $this->medias = new ArrayCollection();
  381.         $this->editionModeles = new ArrayCollection();
  382.         $this->editionModeleRubriqueDynamiques = new ArrayCollection();
  383.         $this->tags = new ArrayCollection();
  384.         $this->annonces = new ArrayCollection();
  385.         $this->tagAnnonces = new ArrayCollection();
  386.         $this->mediaTags = new ArrayCollection();
  387.         $this->users = new ArrayCollection();
  388.         $this->apiChanges = new ArrayCollection();
  389.         $this->scoringProfiles = new ArrayCollection();
  390.         $this->scorings = new ArrayCollection();
  391.         $this->editionLegendes = new ArrayCollection();
  392.         $this->editionLegendeItems = new ArrayCollection();
  393.         $this->diaporamaBlocks = new ArrayCollection();
  394.         $this->diaporamas = new ArrayCollection();
  395.         $this->editionPlanifications = new ArrayCollection();
  396.         $this->webMaps = new ArrayCollection();
  397.         $this->sites = new ArrayCollection();
  398.         $this->apidaeConfigurations = new ArrayCollection();
  399.         $this->deeplTranslationConfigs = new ArrayCollection();
  400.         $this->deeplTranslationParams = new ArrayCollection();
  401.         $this->apidaeTranslationConfigs = new ArrayCollection();
  402.         $this->apidaeWriteConfigurations = new ArrayCollection();
  403.         $this->usageStatistics = new ArrayCollection();
  404.         $this->bridgeParameters = new ArrayCollection();
  405.         $this->guideAccueilDestinataires = new ArrayCollection();
  406.     }
  407.     public function getName(): ?string
  408.     {
  409.         return $this->name;
  410.     }
  411.     public function setName(?string $name): self
  412.     {
  413.         $this->name $name;
  414.         return $this;
  415.     }
  416.     public function getEntity(): ?int
  417.     {
  418.         return $this->entity;
  419.     }
  420.     public function setEntity(?int $entity): self
  421.     {
  422.         $this->entity $entity;
  423.         return $this;
  424.     }
  425.     public function getMarking(): ?int
  426.     {
  427.         return $this->marking;
  428.     }
  429.     public function setMarking(?int $marking): self
  430.     {
  431.         $this->marking $marking;
  432.         return $this;
  433.     }
  434.     public function getParams(): ?array
  435.     {
  436.         return $this->params;
  437.     }
  438.     public function setParams(?array $params): self
  439.     {
  440.         $this->params $params;
  441.         return $this;
  442.     }
  443.     public function getCreatedAt(): ?\DateTimeInterface
  444.     {
  445.         return $this->createdAt;
  446.     }
  447.     public function setCreatedAt(?\DateTimeInterface $createdAt): self
  448.     {
  449.         $this->createdAt $createdAt;
  450.         return $this;
  451.     }
  452.     public function getCreatedBy(): ?int
  453.     {
  454.         return $this->createdBy;
  455.     }
  456.     public function setCreatedBy(?int $createdBy): self
  457.     {
  458.         $this->createdBy $createdBy;
  459.         return $this;
  460.     }
  461.     public function getUpdatedAt(): ?\DateTimeInterface
  462.     {
  463.         return $this->updatedAt;
  464.     }
  465.     public function setUpdatedAt(?\DateTimeInterface $updatedAt): self
  466.     {
  467.         $this->updatedAt $updatedAt;
  468.         return $this;
  469.     }
  470.     public function getUpdatedBy(): ?int
  471.     {
  472.         return $this->updatedBy;
  473.     }
  474.     public function setUpdatedBy(?int $updatedBy): self
  475.     {
  476.         $this->updatedBy $updatedBy;
  477.         return $this;
  478.     }
  479.     public function getId(): ?int
  480.     {
  481.         return $this->id;
  482.     }
  483.     public function getParent(): ?self
  484.     {
  485.         return $this->parent;
  486.     }
  487.     public function setParent(?self $parent): self
  488.     {
  489.         $this->parent $parent;
  490.         return $this;
  491.     }
  492.     public function getLeiId(): ?string
  493.     {
  494.         return $this->leiId;
  495.     }
  496.     public function setLeiId(?string $leiId): self
  497.     {
  498.         $this->leiId $leiId;
  499.         return $this;
  500.     }
  501.     public function getTourinsoftId(): ?string
  502.     {
  503.         return $this->tourinsoftId;
  504.     }
  505.     public function setTourinsoftId(?string $tourinsoftId): self
  506.     {
  507.         $this->tourinsoftId $tourinsoftId;
  508.         return $this;
  509.     }
  510.     public function getApidaeId(): ?string
  511.     {
  512.         return $this->apidaeId;
  513.     }
  514.     public function setApidaeId(?string $apidaeId): self
  515.     {
  516.         $this->apidaeId $apidaeId;
  517.         return $this;
  518.     }
  519.     /**
  520.      * @return Collection|DnsitProduct[]
  521.      */
  522.     public function getProducts(): Collection
  523.     {
  524.         return $this->products;
  525.     }
  526.     public function addProduct(DnsitProduct $product): self
  527.     {
  528.         if (!$this->products->contains($product)) {
  529.             $this->products[] = $product;
  530.             $product->setProductEntity($this);
  531.         }
  532.         return $this;
  533.     }
  534.     public function removeProduct(DnsitProduct $product): self
  535.     {
  536.         if ($this->products->contains($product)) {
  537.             $this->products->removeElement($product);
  538.             // set the owning side to null (unless already changed)
  539.             if ($product->getProductEntity() === $this) {
  540.                 $product->setProductEntity(null);
  541.             }
  542.         }
  543.         return $this;
  544.     }
  545.     /**
  546.      * @return Collection|DnsitTranslateProduct[]
  547.      */
  548.     public function getTranslateProducts(): Collection
  549.     {
  550.         return $this->translateProducts;
  551.     }
  552.     public function addTranslateProduct(DnsitTranslateProduct $product): self
  553.     {
  554.         if (!$this->translateProducts->contains($product)) {
  555.             $this->translateProducts[] = $product;
  556.             $product->setProductEntity($this);
  557.         }
  558.         return $this;
  559.     }
  560.     public function removeTranslateProduct(DnsitTranslateProduct $product): self
  561.     {
  562.         if ($this->translateProducts->contains($product)) {
  563.             $this->translateProducts->removeElement($product);
  564.             // set the owning side to null (unless already changed)
  565.             if ($product->getProductEntity() === $this) {
  566.                 $product->setProductEntity(null);
  567.             }
  568.         }
  569.         return $this;
  570.     }
  571.     /**
  572.      * @return Collection|Annonce[]
  573.      */
  574.     public function getAnnonces(): Collection
  575.     {
  576.         return $this->annonces;
  577.     }
  578.     public function addAnnonce(Annonce $annonce): self
  579.     {
  580.         if (!$this->annonces->contains($annonce)) {
  581.             $this->annonces[] = $annonce;
  582.             $annonce->setEntity($this);
  583.         }
  584.         return $this;
  585.     }
  586.     public function removeAnnonces(Annonce $annonce): self
  587.     {
  588.         if ($this->annonces->contains($annonce)) {
  589.             $this->annonces->removeElement($annonce);
  590.             // set the owning side to null (unless already changed)
  591.             if ($annonce->getEntity() === $this) {
  592.                 $annonce->setEntity(null);
  593.             }
  594.         }
  595.         return $this;
  596.     }
  597.     /**
  598.      * @return Collection|TagAnnonce[]
  599.      */
  600.     public function getTagAnnonces(): Collection
  601.     {
  602.         return $this->tagAnnonces;
  603.     }
  604.     public function addTagAnnonce(TagAnnonce $tagAnnonce): self
  605.     {
  606.         if (!$this->tagAnnonces->contains($tagAnnonce)) {
  607.             $this->tagAnnonces[] = $tagAnnonce;
  608.             $tagAnnonce->setEntity($this);
  609.         }
  610.         return $this;
  611.     }
  612.     public function removeTagAnnonces(TagAnnonce $tagAnnonce): self
  613.     {
  614.         if ($this->tagAnnonces->contains($tagAnnonce)) {
  615.             $this->tagAnnonces->removeElement($tagAnnonce);
  616.             // set the owning side to null (unless already changed)
  617.             if ($tagAnnonce->getEntity() === $this) {
  618.                 $tagAnnonce->setEntity(null);
  619.             }
  620.         }
  621.         return $this;
  622.     }
  623.     /**
  624.      * @return Collection|Site[]
  625.      */
  626.     public function getSites(): Collection
  627.     {
  628.         return $this->sites;
  629.     }
  630.     public function addSite(Site $site): self
  631.     {
  632.         if (!$this->sites->contains($site)) {
  633.             $this->sites[] = $site;
  634.             $site->setEntity($this);
  635.         }
  636.         return $this;
  637.     }
  638.     public function removeSite(Site $site): self
  639.     {
  640.         if ($this->sites->contains($site)) {
  641.             $this->sites->removeElement($site);
  642.             // set the owning side to null (unless already changed)
  643.             if ($site->getEntity() === $this) {
  644.                 $site->setEntity(null);
  645.             }
  646.         }
  647.         return $this;
  648.     }
  649.     /**
  650.      * @return Collection|ApidaeCacheConfiguration[]
  651.      */
  652.     public function getApidaeConfigurations(): Collection
  653.     {
  654.         return $this->apidaeConfigurations;
  655.     }
  656.     public function addApidaeConfigurations(Site $apidaeConfiguration): self
  657.     {
  658.         if (!$this->apidaeConfigurations->contains($apidaeConfiguration)) {
  659.             $this->apidaeConfigurations[] = $apidaeConfiguration;
  660.             $apidaeConfiguration->setEntity($this);
  661.         }
  662.         return $this;
  663.     }
  664.     public function removeApidaeConfigurations(Site $apidaeConfiguration): self
  665.     {
  666.         if ($this->apidaeConfigurations->contains($apidaeConfiguration)) {
  667.             $this->apidaeConfigurations->removeElement($apidaeConfiguration);
  668.             // set the owning side to null (unless already changed)
  669.             if ($apidaeConfiguration->getEntity() === $this) {
  670.                 $apidaeConfiguration->setEntity(null);
  671.             }
  672.         }
  673.         return $this;
  674.     }
  675.     /**
  676.      * @return Collection|Block[]
  677.      */
  678.     public function getBlocks(): Collection
  679.     {
  680.         return $this->blocks;
  681.     }
  682.     public function addBlock(Block $block): self
  683.     {
  684.         if (!$this->blocks->contains($block)) {
  685.             $this->blocks[] = $block;
  686.             $block->setEntity($this);
  687.         }
  688.         return $this;
  689.     }
  690.     public function removeBlock(Block $block): self
  691.     {
  692.         if ($this->blocks->contains($block)) {
  693.             $this->blocks->removeElement($block);
  694.             // set the owning side to null (unless already changed)
  695.             if ($block->getEntity() === $this) {
  696.                 $block->setEntity(null);
  697.             }
  698.         }
  699.         return $this;
  700.     }
  701.     /**
  702.      * @return Collection|BlockField[]
  703.      */
  704.     public function getBlockFields(): Collection
  705.     {
  706.         return $this->blockFields;
  707.     }
  708.     public function addBlockField(BlockField $blockField): self
  709.     {
  710.         if (!$this->blockFields->contains($blockField)) {
  711.             $this->blockFields[] = $blockField;
  712.             $blockField->setEntity($this);
  713.         }
  714.         return $this;
  715.     }
  716.     public function removeBlockField(BlockField $blockField): self
  717.     {
  718.         if ($this->blockFields->contains($blockField)) {
  719.             $this->blockFields->removeElement($blockField);
  720.             // set the owning side to null (unless already changed)
  721.             if ($blockField->getEntity() === $this) {
  722.                 $blockField->setEntity(null);
  723.             }
  724.         }
  725.         return $this;
  726.     }
  727.     /**
  728.      * @return Collection|BlockFieldItem[]
  729.      */
  730.     public function getBlockFieldItems(): Collection
  731.     {
  732.         return $this->blockFieldItems;
  733.     }
  734.     public function addBlockFieldItem(BlockFieldItem $blockFieldItem): self
  735.     {
  736.         if (!$this->blockFieldItems->contains($blockFieldItem)) {
  737.             $this->blockFieldItems[] = $blockFieldItem;
  738.             $blockFieldItem->setEntity($this);
  739.         }
  740.         return $this;
  741.     }
  742.     public function removeBlockFieldItem(BlockFieldItem $blockFieldItem): self
  743.     {
  744.         if ($this->blockFieldItems->contains($blockFieldItem)) {
  745.             $this->blockFieldItems->removeElement($blockFieldItem);
  746.             // set the owning side to null (unless already changed)
  747.             if ($blockFieldItem->getEntity() === $this) {
  748.                 $blockFieldItem->setEntity(null);
  749.             }
  750.         }
  751.         return $this;
  752.     }
  753.     /**
  754.      * @return Collection|Selection[]
  755.      */
  756.     public function getSelections(): Collection
  757.     {
  758.         return $this->selections;
  759.     }
  760.     public function addSelection(Selection $selection): self
  761.     {
  762.         if (!$this->selections->contains($selection)) {
  763.             $this->selections[] = $selection;
  764.             $selection->setEntity($this);
  765.         }
  766.         return $this;
  767.     }
  768.     public function removeSelection(Selection $selection): self
  769.     {
  770.         if ($this->selections->contains($selection)) {
  771.             $this->selections->removeElement($selection);
  772.             // set the owning side to null (unless already changed)
  773.             if ($selection->getEntity() === $this) {
  774.                 $selection->setEntity(null);
  775.             }
  776.         }
  777.         return $this;
  778.     }
  779.     /**
  780.      * @return Collection|SelectionItem[]
  781.      */
  782.     public function getSelectionItems(): Collection
  783.     {
  784.         return $this->selectionItems;
  785.     }
  786.     public function addSelectionItem(SelectionItem $selectionItem): self
  787.     {
  788.         if (!$this->selectionItems->contains($selectionItem)) {
  789.             $this->selectionItems[] = $selectionItem;
  790.             $selectionItem->setEntity($this);
  791.         }
  792.         return $this;
  793.     }
  794.     public function removeSelectionItem(SelectionItem $selectionItem): self
  795.     {
  796.         if ($this->selectionItems->contains($selectionItem)) {
  797.             $this->selectionItems->removeElement($selectionItem);
  798.             // set the owning side to null (unless already changed)
  799.             if ($selectionItem->getEntity() === $this) {
  800.                 $selectionItem->setEntity(null);
  801.             }
  802.         }
  803.         return $this;
  804.     }
  805.     /**
  806.      * @return Collection|WebEngine[]
  807.      */
  808.     public function getWebEngines(): Collection
  809.     {
  810.         return $this->webEngines;
  811.     }
  812.     public function addWebEngine(WebEngine $webEngine): self
  813.     {
  814.         if (!$this->webEngines->contains($webEngine)) {
  815.             $this->webEngines[] = $webEngine;
  816.             $webEngine->setEntity($this);
  817.         }
  818.         return $this;
  819.     }
  820.     public function removeWebEngine(WebEngine $webEngine): self
  821.     {
  822.         if ($this->webEngines->contains($webEngine)) {
  823.             $this->webEngines->removeElement($webEngine);
  824.             // set the owning side to null (unless already changed)
  825.             if ($webEngine->getEntity() === $this) {
  826.                 $webEngine->setEntity(null);
  827.             }
  828.         }
  829.         return $this;
  830.     }
  831.     /**
  832.      * @return Collection|WebEngineSection[]
  833.      */
  834.     public function getWebEngineSections(): Collection
  835.     {
  836.         return $this->webEngineSections;
  837.     }
  838.     public function addWebEngineSection(WebEngineSection $webEngineSection): self
  839.     {
  840.         if (!$this->webEngineSections->contains($webEngineSection)) {
  841.             $this->webEngineSections[] = $webEngineSection;
  842.             $webEngineSection->setEntity($this);
  843.         }
  844.         return $this;
  845.     }
  846.     public function removeWebEngineSection(WebEngineSection $webEngineSection): self
  847.     {
  848.         if ($this->webEngineSections->contains($webEngineSection)) {
  849.             $this->webEngineSections->removeElement($webEngineSection);
  850.             // set the owning side to null (unless already changed)
  851.             if ($webEngineSection->getEntity() === $this) {
  852.                 $webEngineSection->setEntity(null);
  853.             }
  854.         }
  855.         return $this;
  856.     }
  857.     /**
  858.      * @return Collection|WebEngineSubSection[]
  859.      */
  860.     public function getWebEngineSubSections(): Collection
  861.     {
  862.         return $this->webEngineSubSections;
  863.     }
  864.     public function addWebEngineSubSection(WebEngineSubSection $webEngineSubSection): self
  865.     {
  866.         if (!$this->webEngineSubSections->contains($webEngineSubSection)) {
  867.             $this->webEngineSubSections[] = $webEngineSubSection;
  868.             $webEngineSubSection->setEntity($this);
  869.         }
  870.         return $this;
  871.     }
  872.     public function removeWebEngineSubSection(WebEngineSubSection $webEngineSubSection): self
  873.     {
  874.         if ($this->webEngineSubSections->contains($webEngineSubSection)) {
  875.             $this->webEngineSubSections->removeElement($webEngineSubSection);
  876.             // set the owning side to null (unless already changed)
  877.             if ($webEngineSubSection->getEntity() === $this) {
  878.                 $webEngineSubSection->setEntity(null);
  879.             }
  880.         }
  881.         return $this;
  882.     }
  883.     /**
  884.      * @return Collection|WebSubSectionFilter[]
  885.      */
  886.     public function getWebSubSectionFilters(): Collection
  887.     {
  888.         return $this->webSubSectionFilters;
  889.     }
  890.     public function addWebSubSectionFilter(WebSubSectionFilter $webSubSectionFilter): self
  891.     {
  892.         if (!$this->webSubSectionFilters->contains($webSubSectionFilter)) {
  893.             $this->webSubSectionFilters[] = $webSubSectionFilter;
  894.             $webSubSectionFilter->setEntity($this);
  895.         }
  896.         return $this;
  897.     }
  898.     public function removeWebSubSectionFilter(WebSubSectionFilter $webSubSectionFilter): self
  899.     {
  900.         if ($this->webSubSectionFilters->contains($webSubSectionFilter)) {
  901.             $this->webSubSectionFilters->removeElement($webSubSectionFilter);
  902.             // set the owning side to null (unless already changed)
  903.             if ($webSubSectionFilter->getEntity() === $this) {
  904.                 $webSubSectionFilter->setEntity(null);
  905.             }
  906.         }
  907.         return $this;
  908.     }
  909.     /**
  910.      * @return Collection|WebFilter[]
  911.      */
  912.     public function getWebFilters(): Collection
  913.     {
  914.         return $this->webFilters;
  915.     }
  916.     public function addWebFilter(WebFilter $webFilter): self
  917.     {
  918.         if (!$this->webFilters->contains($webFilter)) {
  919.             $this->webFilters[] = $webFilter;
  920.             $webFilter->setEntity($this);
  921.         }
  922.         return $this;
  923.     }
  924.     public function removeWebFilter(WebFilter $webFilter): self
  925.     {
  926.         if ($this->webFilters->contains($webFilter)) {
  927.             $this->webFilters->removeElement($webFilter);
  928.             // set the owning side to null (unless already changed)
  929.             if ($webFilter->getEntity() === $this) {
  930.                 $webFilter->setEntity(null);
  931.             }
  932.         }
  933.         return $this;
  934.     }
  935.     /**
  936.      * @return Collection|WebFilterItem[]
  937.      */
  938.     public function getWebFilterItems(): Collection
  939.     {
  940.         return $this->webFilterItems;
  941.     }
  942.     public function addWebFilterItem(WebFilterItem $webFilterItem): self
  943.     {
  944.         if (!$this->webFilterItems->contains($webFilterItem)) {
  945.             $this->webFilterItems[] = $webFilterItem;
  946.             $webFilterItem->setEntity($this);
  947.         }
  948.         return $this;
  949.     }
  950.     public function removeWebFilterItem(WebFilterItem $webFilterItem): self
  951.     {
  952.         if ($this->webFilterItems->contains($webFilterItem)) {
  953.             $this->webFilterItems->removeElement($webFilterItem);
  954.             // set the owning side to null (unless already changed)
  955.             if ($webFilterItem->getEntity() === $this) {
  956.                 $webFilterItem->setEntity(null);
  957.             }
  958.         }
  959.         return $this;
  960.     }
  961.     /**
  962.      * @return Collection|WebList[]
  963.      */
  964.     public function getWebLists(): Collection
  965.     {
  966.         return $this->webLists;
  967.     }
  968.     public function addWebList(WebList $webList): self
  969.     {
  970.         if (!$this->webLists->contains($webList)) {
  971.             $this->webLists[] = $webList;
  972.             $webList->setEntity($this);
  973.         }
  974.         return $this;
  975.     }
  976.     public function removeWebList(WebList $webList): self
  977.     {
  978.         if ($this->webLists->contains($webList)) {
  979.             $this->webLists->removeElement($webList);
  980.             // set the owning side to null (unless already changed)
  981.             if ($webList->getEntity() === $this) {
  982.                 $webList->setEntity(null);
  983.             }
  984.         }
  985.         return $this;
  986.     }
  987.     /**
  988.      * @return Collection|ListModel[]
  989.      */
  990.     public function getListModels(): Collection
  991.     {
  992.         return $this->listModels;
  993.     }
  994.     public function addListModel(ListModel $listModel): self
  995.     {
  996.         if (!$this->listModels->contains($listModel)) {
  997.             $this->listModels[] = $listModel;
  998.             $listModel->setEntity($this);
  999.         }
  1000.         return $this;
  1001.     }
  1002.     public function removeListModel(ListModel $listModel): self
  1003.     {
  1004.         if ($this->listModels->contains($listModel)) {
  1005.             $this->listModels->removeElement($listModel);
  1006.             // set the owning side to null (unless already changed)
  1007.             if ($listModel->getEntity() === $this) {
  1008.                 $listModel->setEntity(null);
  1009.             }
  1010.         }
  1011.         return $this;
  1012.     }
  1013.     /**
  1014.      * @return Collection|WebListBlock[]
  1015.      */
  1016.     public function getWebListBlocks(): Collection
  1017.     {
  1018.         return $this->webListBlocks;
  1019.     }
  1020.     public function addWebListBlock(WebListBlock $webListBlock): self
  1021.     {
  1022.         if (!$this->webListBlocks->contains($webListBlock)) {
  1023.             $this->webListBlocks[] = $webListBlock;
  1024.             $webListBlock->setEntity($this);
  1025.         }
  1026.         return $this;
  1027.     }
  1028.     public function removeWebListBlock(WebListBlock $webListBlock): self
  1029.     {
  1030.         if ($this->webListBlocks->contains($webListBlock)) {
  1031.             $this->webListBlocks->removeElement($webListBlock);
  1032.             // set the owning side to null (unless already changed)
  1033.             if ($webListBlock->getEntity() === $this) {
  1034.                 $webListBlock->setEntity(null);
  1035.             }
  1036.         }
  1037.         return $this;
  1038.     }
  1039.     /**
  1040.      * @return Collection|WebPage[]
  1041.      */
  1042.     public function getWebPages(): Collection
  1043.     {
  1044.         return $this->webPages;
  1045.     }
  1046.     public function addWebPage(WebPage $webPage): self
  1047.     {
  1048.         if (!$this->webPages->contains($webPage)) {
  1049.             $this->webPages[] = $webPage;
  1050.             $webPage->setEntity($this);
  1051.         }
  1052.         return $this;
  1053.     }
  1054.     public function removeWebPage(WebPage $webPage): self
  1055.     {
  1056.         if ($this->webPages->contains($webPage)) {
  1057.             $this->webPages->removeElement($webPage);
  1058.             // set the owning side to null (unless already changed)
  1059.             if ($webPage->getEntity() === $this) {
  1060.                 $webPage->setEntity(null);
  1061.             }
  1062.         }
  1063.         return $this;
  1064.     }
  1065.     /**
  1066.      * @return Collection|WebPageBlock[]
  1067.      */
  1068.     public function getWebPageBlocks(): Collection
  1069.     {
  1070.         return $this->webPageBlocks;
  1071.     }
  1072.     public function addWebPageBlock(WebPageBlock $webPageBlock): self
  1073.     {
  1074.         if (!$this->webPageBlocks->contains($webPageBlock)) {
  1075.             $this->webPageBlocks[] = $webPageBlock;
  1076.             $webPageBlock->setEntity($this);
  1077.         }
  1078.         return $this;
  1079.     }
  1080.     public function removeWebPageBlock(WebPageBlock $webPageBlock): self
  1081.     {
  1082.         if ($this->webPageBlocks->contains($webPageBlock)) {
  1083.             $this->webPageBlocks->removeElement($webPageBlock);
  1084.             // set the owning side to null (unless already changed)
  1085.             if ($webPageBlock->getEntity() === $this) {
  1086.                 $webPageBlock->setEntity(null);
  1087.             }
  1088.         }
  1089.         return $this;
  1090.     }
  1091.     /**
  1092.      * @return Collection|Media[]
  1093.      */
  1094.     public function getMedias(): Collection
  1095.     {
  1096.         return $this->webFilters;
  1097.     }
  1098.     public function addMedia(Media $media): self
  1099.     {
  1100.         if (!$this->medias->contains($media)) {
  1101.             $this->medias[] = $media;
  1102.             $media->setEntity($this);
  1103.         }
  1104.         return $this;
  1105.     }
  1106.     public function removeMedia(Media $media): self
  1107.     {
  1108.         if ($this->medias->contains($media)) {
  1109.             $this->medias->removeElement($media);
  1110.             // set the owning side to null (unless already changed)
  1111.             if ($media->getEntity() === $this) {
  1112.                 $media->setEntity(null);
  1113.             }
  1114.         }
  1115.         return $this;
  1116.     }
  1117.     /**
  1118.      * @return Collection|EditionModele[]
  1119.      */
  1120.     public function getEditionModeles(): Collection
  1121.     {
  1122.         return $this->editionModeles;
  1123.     }
  1124.     public function addEditionModele(EditionModele $editionModele): self
  1125.     {
  1126.         if (!$this->editionModeles->contains($editionModele)) {
  1127.             $this->editionModeles[] = $editionModele;
  1128.             $editionModele->setEntity($this);
  1129.         }
  1130.         return $this;
  1131.     }
  1132.     public function removeEditionModele(EditionModele $editionModele): self
  1133.     {
  1134.         if ($this->editionModeles->contains($editionModele)) {
  1135.             $this->editionModeles->removeElement($editionModele);
  1136.             // set the owning side to null (unless already changed)
  1137.             if ($editionModele->getEntity() === $this) {
  1138.                 $editionModele->setEntity(null);
  1139.             }
  1140.         }
  1141.         return $this;
  1142.     }
  1143.     /**
  1144.      * @return Collection|EditionModeleRubriqueDynamiqueModele[]
  1145.      */
  1146.     public function getEditionModeleRubriqueDynamiques(): Collection
  1147.     {
  1148.         return $this->editionModeleRubriqueDynamiques;
  1149.     }
  1150.     public function addEditionModeleRubriqueDynamique(EditionModeleRubriqueDynamiqueModele $editionModeleRubriqueDynamique): self
  1151.     {
  1152.         if (!$this->editionModeleRubriqueDynamiques->contains($editionModeleRubriqueDynamique)) {
  1153.             $this->editionModeleRubriqueDynamiques[] = $editionModeleRubriqueDynamique;
  1154.             $editionModeleRubriqueDynamique->setEntity($this);
  1155.         }
  1156.         return $this;
  1157.     }
  1158.     public function removeEditionModeleRubriqueDynamique(EditionModeleRubriqueDynamiqueModele $editionModeleRubriqueDynamique): self
  1159.     {
  1160.         if ($this->editionModeleRubriqueDynamiques->contains($editionModeleRubriqueDynamique)) {
  1161.             $this->editionModeleRubriqueDynamiques->removeElement($editionModeleRubriqueDynamique);
  1162.             // set the owning side to null (unless already changed)
  1163.             if ($editionModeleRubriqueDynamique->getEntity() === $this) {
  1164.                 $editionModeleRubriqueDynamique->setEntity(null);
  1165.             }
  1166.         }
  1167.         return $this;
  1168.     }
  1169.     /**
  1170.      * @return Collection|Tag[]
  1171.      */
  1172.     public function getTags(): Collection
  1173.     {
  1174.         return $this->tags;
  1175.     }
  1176.     public function addTag(Tag $tag): self
  1177.     {
  1178.         if (!$this->tags->contains($tag)) {
  1179.             $this->tags[] = $tag;
  1180.             $tag->setEntity($this);
  1181.         }
  1182.         return $this;
  1183.     }
  1184.     public function removeTag(Tag $tag): self
  1185.     {
  1186.         if ($this->tags->contains($tag)) {
  1187.             $this->tags->removeElement($tag);
  1188.             // set the owning side to null (unless already changed)
  1189.             if ($tag->getEntity() === $this) {
  1190.                 $tag->setEntity(null);
  1191.             }
  1192.         }
  1193.         return $this;
  1194.     }
  1195.     /**
  1196.      * @return Collection|TagMedia[]
  1197.      */
  1198.     public function getMediaTags(): Collection
  1199.     {
  1200.         return $this->mediaTags;
  1201.     }
  1202.     public function addMediaTag(TagMedia $tagMedia): self
  1203.     {
  1204.         if (!$this->mediaTags->contains($tagMedia)) {
  1205.             $this->mediaTags[] = $tagMedia;
  1206.             $tagMedia->setEntity($this);
  1207.         }
  1208.         return $this;
  1209.     }
  1210.     public function removeMediaTag(TagMedia $tagMedia): self
  1211.     {
  1212.         if ($this->mediaTags->contains($tagMedia)) {
  1213.             $this->mediaTags->removeElement($tagMedia);
  1214.             // set the owning side to null (unless already changed)
  1215.             if ($tagMedia->getEntity() === $this) {
  1216.                 $tagMedia->setEntity(null);
  1217.             }
  1218.         }
  1219.         return $this;
  1220.     }
  1221.     /**
  1222.      * @return Collection|ApiChangeHistory[]
  1223.      */
  1224.     public function getApiChanges(): Collection
  1225.     {
  1226.         return $this->apiChanges;
  1227.     }
  1228.     public function addApiChange(ApiChangeHistory $apiChangeHistory): self
  1229.     {
  1230.         if (!$this->apiChanges->contains($apiChangeHistory)) {
  1231.             $this->apiChanges[] = $apiChangeHistory;
  1232.             $apiChangeHistory->setEntity($this);
  1233.         }
  1234.         return $this;
  1235.     }
  1236.     public function removeApiChange(ApiChangeHistory $apiChangeHistory): self
  1237.     {
  1238.         if ($this->apiChanges->contains($apiChangeHistory)) {
  1239.             $this->apiChanges->removeElement($apiChangeHistory);
  1240.             // set the owning side to null (unless already changed)
  1241.             if ($apiChangeHistory->getEntity() === $this) {
  1242.                 $apiChangeHistory->setEntity(null);
  1243.             }
  1244.         }
  1245.         return $this;
  1246.     }
  1247.     /**
  1248.      * @return Collection|User[]
  1249.      */
  1250.     public function getUsers(): Collection
  1251.     {
  1252.         return $this->users;
  1253.     }
  1254.     public function addUser(User $user): self
  1255.     {
  1256.         if (!$this->users->contains($user)) {
  1257.             $this->users[] = $user;
  1258.             $user->setEntity($this);
  1259.         }
  1260.         return $this;
  1261.     }
  1262.     public function removeUser(User $user): self
  1263.     {
  1264.         if ($this->users->contains($user)) {
  1265.             $this->users->removeElement($user);
  1266.             // set the owning side to null (unless already changed)
  1267.             if ($user->getEntity() === $this) {
  1268.                 $user->setEntity(null);
  1269.             }
  1270.         }
  1271.         return $this;
  1272.     }
  1273.     /**
  1274.      * @return Collection|DnsitScoringProfile[]
  1275.      */
  1276.     public function getScoringProfiles(): Collection
  1277.     {
  1278.         return $this->scoringProfiles;
  1279.     }
  1280.     public function addScoringProfile(DnsitScoringProfile $scoringProfile): self
  1281.     {
  1282.         if (!$this->scoringProfiles->contains($scoringProfile)) {
  1283.             $this->scoringProfiles[] = $scoringProfile;
  1284.             $scoringProfile->setEntity($this);
  1285.         }
  1286.         return $this;
  1287.     }
  1288.     public function removeScoringProfile(DnsitScoringProfile $scoringProfile): self
  1289.     {
  1290.         if ($this->scoringProfiles->contains($scoringProfile)) {
  1291.             $this->scoringProfiles->removeElement($scoringProfile);
  1292.             // set the owning side to null (unless already changed)
  1293.             if ($scoringProfile->getEntity() === $this) {
  1294.                 $scoringProfile->setEntity(null);
  1295.             }
  1296.         }
  1297.         return $this;
  1298.     }
  1299.     /**
  1300.      * @return Collection|DnsitScoring[]
  1301.      */
  1302.     public function getScorings(): Collection
  1303.     {
  1304.         return $this->scorings;
  1305.     }
  1306.     public function addScoring(DnsitScoring $scorings): self
  1307.     {
  1308.         if (!$this->scorings->contains($scorings)) {
  1309.             $this->scorings[] = $scorings;
  1310.             $scorings->setEntity($this);
  1311.         }
  1312.         return $this;
  1313.     }
  1314.     public function removeScoring(DnsitScoring $scorings): self
  1315.     {
  1316.         if ($this->scorings->contains($scorings)) {
  1317.             $this->scorings->removeElement($scorings);
  1318.             // set the owning side to null (unless already changed)
  1319.             if ($scorings->getEntity() === $this) {
  1320.                 $scorings->setEntity(null);
  1321.             }
  1322.         }
  1323.         return $this;
  1324.     }
  1325.     /**
  1326.      * @return Collection|DiaporamaBlock[]
  1327.      */
  1328.     public function getDiaporamaBlocks(): Collection
  1329.     {
  1330.         return $this->diaporamaBlocks;
  1331.     }
  1332.     public function addDiaporamaBlock(DiaporamaBlock $diaporamaBlock): self
  1333.     {
  1334.         if (!$this->diaporamaBlocks->contains($diaporamaBlock)) {
  1335.             $this->diaporamaBlocks[] = $diaporamaBlock;
  1336.             $diaporamaBlock->setEntity($this);
  1337.         }
  1338.         return $this;
  1339.     }
  1340.     public function removeDiaporamaBlock(DiaporamaBlock $diaporamaBlock): self
  1341.     {
  1342.         if ($this->diaporamaBlocks->contains($diaporamaBlock)) {
  1343.             $this->diaporamaBlocks->removeElement($diaporamaBlock);
  1344.             // set the owning side to null (unless already changed)
  1345.             if ($diaporamaBlock->getEntity() === $this) {
  1346.                 $diaporamaBlock->setEntity(null);
  1347.             }
  1348.         }
  1349.         return $this;
  1350.     }
  1351.     /**
  1352.      * @return Collection|Diaporama[]
  1353.      */
  1354.     public function getDiaporamas(): Collection
  1355.     {
  1356.         return $this->diaporamas;
  1357.     }
  1358.     public function addDiaporama(Diaporama $diaporama): self
  1359.     {
  1360.         if (!$this->diaporamas->contains($diaporama)) {
  1361.             $this->diaporamas[] = $diaporama;
  1362.             $diaporama->setEntity($this);
  1363.         }
  1364.         return $this;
  1365.     }
  1366.     public function removeDiaporama(Diaporama $diaporama): self
  1367.     {
  1368.         if ($this->diaporamas->contains($diaporama)) {
  1369.             $this->diaporamas->removeElement($diaporama);
  1370.             // set the owning side to null (unless already changed)
  1371.             if ($diaporama->getEntity() === $this) {
  1372.                 $diaporama->setEntity(null);
  1373.             }
  1374.         }
  1375.         return $this;
  1376.     }
  1377.     /**
  1378.      * @return Collection|EditionLegende[]
  1379.      */
  1380.     public function getEditionLegendes(): Collection
  1381.     {
  1382.         return $this->editionLegendes;
  1383.     }
  1384.     public function addEditionLegende(EditionLegende $editionLegende): self
  1385.     {
  1386.         if (!$this->editionLegendes->contains($editionLegende)) {
  1387.             $this->editionLegendes[] = $editionLegende;
  1388.             $editionLegende->setEntity($this);
  1389.         }
  1390.         return $this;
  1391.     }
  1392.     public function removeEditionLegende(EditionLegende $editionLegende): self
  1393.     {
  1394.         if ($this->editionLegendes->contains($editionLegende)) {
  1395.             $this->editionLegendes->removeElement($editionLegende);
  1396.             // set the owning side to null (unless already changed)
  1397.             if ($editionLegende->getEntity() === $this) {
  1398.                 $editionLegende->setEntity(null);
  1399.             }
  1400.         }
  1401.         return $this;
  1402.     }
  1403.     /**
  1404.      * @return Collection|EditionLegendeItem[]
  1405.      */
  1406.     public function getEditionLegendeItems(): Collection
  1407.     {
  1408.         return $this->editionLegendeItems;
  1409.     }
  1410.     public function addEditionLegendeItem(EditionLegendeItem $editionLegendeItem): self
  1411.     {
  1412.         if (!$this->editionLegendeItems->contains($editionLegendeItem)) {
  1413.             $this->editionLegendeItems[] = $editionLegendeItem;
  1414.             $editionLegendeItem->setEntity($this);
  1415.         }
  1416.         return $this;
  1417.     }
  1418.     public function removeEditionLegendeItem(EditionLegendeItem $editionLegendeItem): self
  1419.     {
  1420.         if ($this->editionLegendeItems->contains($editionLegendeItem)) {
  1421.             $this->editionLegendeItems->removeElement($editionLegendeItem);
  1422.             // set the owning side to null (unless already changed)
  1423.             if ($editionLegendeItem->getEntity() === $this) {
  1424.                 $editionLegendeItem->setEntity(null);
  1425.             }
  1426.         }
  1427.         return $this;
  1428.     }
  1429.     /**
  1430.      * @return Collection|EditionPlanification[]
  1431.      */
  1432.     public function getEditionPlanifications(): Collection
  1433.     {
  1434.         return $this->editionPlanifications;
  1435.     }
  1436.     public function addEditionPlanification(EditionPlanification $editionPlanification): self
  1437.     {
  1438.         if (!$this->editionPlanifications->contains($editionPlanification)) {
  1439.             $this->editionPlanifications[] = $editionPlanification;
  1440.             $editionPlanification->setEntity($this);
  1441.         }
  1442.         return $this;
  1443.     }
  1444.     public function removeEditionPlanification(EditionPlanification $editionPlanification): self
  1445.     {
  1446.         if ($this->editionPlanifications->contains($editionPlanification)) {
  1447.             $this->editionPlanifications->removeElement($editionPlanification);
  1448.             // set the owning side to null (unless already changed)
  1449.             if ($editionPlanification->getEntity() === $this) {
  1450.                 $editionPlanification->setEntity(null);
  1451.             }
  1452.         }
  1453.         return $this;
  1454.     }
  1455.     /**
  1456.      * @return Collection|WebMap[]
  1457.      */
  1458.     public function getWebMaps(): Collection
  1459.     {
  1460.         return $this->webMaps;
  1461.     }
  1462.     public function addWebMap(WebMap $webMap): self
  1463.     {
  1464.         if (!$this->webMaps->contains($webMap)) {
  1465.             $this->webMaps[] = $webMap;
  1466.             $webMap->setEntity($this);
  1467.         }
  1468.         return $this;
  1469.     }
  1470.     public function removeWebMap(WebMap $webMap): self
  1471.     {
  1472.         if ($this->webMaps->contains($webMap)) {
  1473.             $this->webMaps->removeElement($webMap);
  1474.             // set the owning side to null (unless already changed)
  1475.             if ($webMap->getEntity() === $this) {
  1476.                 $webMap->setEntity(null);
  1477.             }
  1478.         }
  1479.         return $this;
  1480.     }
  1481.     /**
  1482.      * @return Collection|DeeplTranslationConfig[]
  1483.      */
  1484.     public function getDeeplTranslationConfigs(): Collection
  1485.     {
  1486.         return $this->deeplTranslationConfigs;
  1487.     }
  1488.     public function addDeeplTranslationConfig(DeeplTranslationConfig $deeplTranslationConfig): self
  1489.     {
  1490.         if (!$this->deeplTranslationConfigs->contains($deeplTranslationConfig)) {
  1491.             $this->deeplTranslationConfigs[] = $deeplTranslationConfig;
  1492.             $deeplTranslationConfig->setEntity($this);
  1493.         }
  1494.         return $this;
  1495.     }
  1496.     public function removeDeeplTranslationConfig(DeeplTranslationConfig $deeplTranslationConfig): self
  1497.     {
  1498.         if ($this->deeplTranslationConfigs->contains($deeplTranslationConfig)) {
  1499.             $this->deeplTranslationConfigs->removeElement($deeplTranslationConfig);
  1500.             // set the owning side to null (unless already changed)
  1501.             if ($deeplTranslationConfig->getEntity() === $this) {
  1502.                 $deeplTranslationConfig->setEntity(null);
  1503.             }
  1504.         }
  1505.         return $this;
  1506.     }
  1507.     /**
  1508.      * @return Collection|DeeplTranslationParam[]
  1509.      */
  1510.     public function getDeeplTranslationParams(): Collection
  1511.     {
  1512.         return $this->deeplTranslationParams;
  1513.     }
  1514.     public function addDeeplTranslationParam(DeeplTranslationParam $deeplTranslationParam): self
  1515.     {
  1516.         if (!$this->deeplTranslationParams->contains($deeplTranslationParam)) {
  1517.             $this->deeplTranslationParams[] = $deeplTranslationParam;
  1518.             $deeplTranslationParam->setEntity($this);
  1519.         }
  1520.         return $this;
  1521.     }
  1522.     public function removeDeeplTranslationParam(DeeplTranslationParam $deeplTranslationParam): self
  1523.     {
  1524.         if ($this->deeplTranslationParams->contains($deeplTranslationParam)) {
  1525.             $this->deeplTranslationParams->removeElement($deeplTranslationParam);
  1526.             // set the owning side to null (unless already changed)
  1527.             if ($deeplTranslationParam->getEntity() === $this) {
  1528.                 $deeplTranslationParam->setEntity(null);
  1529.             }
  1530.         }
  1531.         return $this;
  1532.     }
  1533.     /**
  1534.      * @return Collection|ApidaeTranslationConfig[]
  1535.      */
  1536.     public function getApidaeTranslationConfigs(): Collection
  1537.     {
  1538.         return $this->apidaeTranslationConfigs;
  1539.     }
  1540.     public function addApidaeTranslationConfig(ApidaeTranslationConfig $apidaeTranslationConfig): self
  1541.     {
  1542.         if (!$this->apidaeTranslationConfigs->contains($apidaeTranslationConfig)) {
  1543.             $this->apidaeTranslationConfigs[] = $apidaeTranslationConfig;
  1544.             $apidaeTranslationConfig->setEntity($this);
  1545.         }
  1546.         return $this;
  1547.     }
  1548.     public function removeApidaeTranslationConfig(ApidaeTranslationConfig $apidaeTranslationConfig): self
  1549.     {
  1550.         if ($this->apidaeTranslationConfigs->contains($apidaeTranslationConfig)) {
  1551.             $this->apidaeTranslationConfigs->removeElement($apidaeTranslationConfig);
  1552.             // set the owning side to null (unless already changed)
  1553.             if ($apidaeTranslationConfig->getEntity() === $this) {
  1554.                 $apidaeTranslationConfig->setEntity(null);
  1555.             }
  1556.         }
  1557.         return $this;
  1558.     }
  1559.     /**
  1560.      * @return Collection|ApidaeWriteConfigurations[]
  1561.      */
  1562.     public function getApidaeWriteConfigurations(): Collection
  1563.     {
  1564.         return $this->apidaeWriteConfigurations;
  1565.     }
  1566.     public function addApidaeWriteConfiguration(ApidaeWriteConfiguration $apidaeWriteConfiguration): self
  1567.     {
  1568.         if (!$this->apidaeWriteConfigurations->contains($apidaeWriteConfiguration)) {
  1569.             $this->apidaeWriteConfigurations[] = $apidaeWriteConfiguration;
  1570.             $apidaeWriteConfiguration->setEntity($this);
  1571.         }
  1572.         return $this;
  1573.     }
  1574.     public function removeApidaeWriteConfiguration(ApidaeWriteConfiguration $apidaeWriteConfiguration): self
  1575.     {
  1576.         if ($this->apidaeWriteConfigurations->contains($apidaeWriteConfiguration)) {
  1577.             $this->apidaeWriteConfigurations->removeElement($apidaeWriteConfiguration);
  1578.             // set the owning side to null (unless already changed)
  1579.             if ($apidaeWriteConfiguration->getEntity() === $this) {
  1580.                 $apidaeWriteConfiguration->setEntity(null);
  1581.             }
  1582.         }
  1583.         return $this;
  1584.     }
  1585.     /**
  1586.      * @return Collection|UsageStatistic[]
  1587.      */
  1588.     public function getUsageStatistics(): Collection
  1589.     {
  1590.         return $this->usageStatistics;
  1591.     }
  1592.     public function addUsageStatistic(UsageStatistic $usageStatistic): self
  1593.     {
  1594.         if (!$this->usageStatistics->contains($usageStatistic)) {
  1595.             $this->usageStatistics[] = $usageStatistic;
  1596.             $usageStatistic->setEntity($this);
  1597.         }
  1598.         return $this;
  1599.     }
  1600.     public function removeUsageStatistic(UsageStatistic $usageStatistic): self
  1601.     {
  1602.         if ($this->usageStatistics->contains($usageStatistic)) {
  1603.             $this->usageStatistics->removeElement($usageStatistic);
  1604.             // set the owning side to null (unless already changed)
  1605.             if ($usageStatistic->getEntity() === $this) {
  1606.                 $usageStatistic->setEntity(null);
  1607.             }
  1608.         }
  1609.         return $this;
  1610.     }
  1611.     /**
  1612.      * @return Collection|BridgeUserParameter[]
  1613.      */
  1614.     public function getBridgeParameters(): Collection
  1615.     {
  1616.         return $this->bridgeParameters;
  1617.     }
  1618.     public function addBridgeParameter(BridgeUserParameter $parameter): self
  1619.     {
  1620.         if (!$this->bridgeParameters->contains($parameter)) {
  1621.             $this->bridgeParameters[] = $parameter;
  1622.             $parameter->setEntity($this);
  1623.         }
  1624.         return $this;
  1625.     }
  1626.     public function removeBridgeParameter(BridgeUserParameter $parameter): self
  1627.     {
  1628.         if ($this->bridgeParameters->contains($parameter)) {
  1629.             $this->bridgeParameters->removeElement($parameter);
  1630.             // set the owning side to null (unless already changed)
  1631.             if ($parameter->getEntity() === $this) {
  1632.                 $parameter->setEntity(null);
  1633.             }
  1634.         }
  1635.         return $this;
  1636.     }
  1637.     /**
  1638.      * @return Collection|GuideAccueilDestinataire[]
  1639.      */
  1640.     public function getGuideAccueilDestinataires(): Collection
  1641.     {
  1642.         return $this->guideAccueilDestinataires;
  1643.     }
  1644.     public function addGuideAccueilDestinataire(GuideAccueilDestinataire $guideAccueilDestinataire): self
  1645.     {
  1646.         if (!$this->guideAccueilDestinataires->contains($guideAccueilDestinataire)) {
  1647.             $this->guideAccueilDestinataires[] = $guideAccueilDestinataire;
  1648.             $guideAccueilDestinataire->setEntity($this);
  1649.         }
  1650.         return $this;
  1651.     }
  1652.     public function removeGuideAccueilDestinataire(GuideAccueilDestinataire $guideAccueilDestinataire): self
  1653.     {
  1654.         if ($this->guideAccueilDestinataires->contains($guideAccueilDestinataire)) {
  1655.             $this->guideAccueilDestinataires->removeElement($guideAccueilDestinataire);
  1656.             // set the owning side to null (unless already changed)
  1657.             if ($guideAccueilDestinataire->getEntity() === $this) {
  1658.                 $guideAccueilDestinataire->setEntity(null);
  1659.             }
  1660.         }
  1661.         return $this;
  1662.     }
  1663. }