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