src/Entity/LocationsFossil.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 Symfony\Component\Serializer\Annotation\Groups;
  6. use Symfony\Component\Serializer\Annotation\SerializedName;
  7. use Doctrine\ORM\Mapping as ORM;
  8. /**
  9.  * @ORM\Entity(repositoryClass="App\Repository\LocationsFossilRepository")
  10.  */
  11. class LocationsFossil
  12. {
  13.     /**
  14.      * @ORM\Id()
  15.      * @ORM\GeneratedValue()
  16.      * @ORM\Column(type="integer")
  17.      * @Groups({"main"})
  18.      */
  19.     private $id;
  20.     /**
  21.      * @ORM\Column(type="string", length=255)
  22.      * @Groups({"main"})
  23.      * @SerializedName("value")
  24.      */
  25.     private $name_nl;
  26.     /**
  27.      * @ORM\Column(type="string", length=255)
  28.      * @Groups({"main"})
  29.      */
  30.     private $name_en;
  31.     /**
  32.      * @ORM\Column(type="string", length=255)
  33.      * @Groups({"main"})
  34.      */
  35.     private $location;
  36.     /**
  37.      * @ORM\ManyToOne(targetEntity="App\Entity\Countries", inversedBy="locationsFossils")
  38.      * @ORM\JoinColumn(nullable=false)
  39.      */
  40.     private $country;
  41.     /**
  42.      * @ORM\Column(type="datetime", nullable=true)
  43.      */
  44.     private $date_added;
  45.     /**
  46.      * @ORM\Column(type="datetime", nullable=true)
  47.      */
  48.     private $date_reviewed;
  49.     /**
  50.      * @ORM\Column(type="string", length=30)
  51.      */
  52.     private $vulnerability;
  53.     /**
  54.      * @ORM\Column(type="text")
  55.      */
  56.     private $description_nl;
  57.     /**
  58.      * @ORM\Column(type="text")
  59.      */
  60.     private $description_en;
  61.     /**
  62.      * @ORM\Column(type="text", nullable=true)
  63.      */
  64.     private $route_nl;
  65.     /**
  66.      * @ORM\Column(type="text", nullable=true)
  67.      */
  68.     private $route_en;
  69.     /**
  70.      * @ORM\Column(type="text", nullable=true)
  71.      */
  72.     private $finds_nl;
  73.     /**
  74.      * @ORM\Column(type="text", nullable=true)
  75.      */
  76.     private $finds_en;
  77.     /**
  78.      * @ORM\Column(type="boolean")
  79.      */
  80.     private $closed;
  81.     /**
  82.      * @ORM\Column(type="boolean")
  83.      */
  84.     private $is_quaternary;
  85.     /**
  86.      * @ORM\Column(type="boolean")
  87.      */
  88.     private $is_neogene;
  89.     /**
  90.      * @ORM\Column(type="boolean")
  91.      */
  92.     private $is_paleogene;
  93.     /**
  94.      * @ORM\Column(type="boolean")
  95.      */
  96.     private $is_cretaceous;
  97.     /**
  98.      * @ORM\Column(type="boolean")
  99.      */
  100.     private $is_jurassic;
  101.     /**
  102.      * @ORM\Column(type="boolean")
  103.      */
  104.     private $is_triassic;
  105.     /**
  106.      * @ORM\Column(type="boolean")
  107.      */
  108.     private $is_permian;
  109.     /**
  110.      * @ORM\Column(type="boolean")
  111.      */
  112.     private $is_carboniferous;
  113.     /**
  114.      * @ORM\Column(type="boolean")
  115.      */
  116.     private $is_devonian;
  117.     /**
  118.      * @ORM\Column(type="boolean")
  119.      */
  120.     private $is_silurian;
  121.     /**
  122.      * @ORM\Column(type="boolean")
  123.      */
  124.     private $is_ordovician;
  125.     /**
  126.      * @ORM\Column(type="boolean")
  127.      */
  128.     private $is_cambrian;
  129.     /**
  130.      * @ORM\Column(type="boolean")
  131.      */
  132.     private $is_precambrian;
  133.     /**
  134.      * @ORM\Column(type="boolean")
  135.      */
  136.     private $has_bacteria;
  137.     
  138.     /**
  139.      * @ORM\Column(type="boolean")
  140.      */
  141.     private $has_archaebacteria;
  142.     
  143.     /**
  144.      * @ORM\Column(type="boolean")
  145.      */
  146.     private $has_phaeophyceae;
  147.     
  148.     /**
  149.      * @ORM\Column(type="boolean")
  150.      */
  151.     private $has_diatomophyceae;
  152.     
  153.     /**
  154.      * @ORM\Column(type="boolean")
  155.      */
  156.     private $has_foraminifera;
  157.     
  158.     /**
  159.      * @ORM\Column(type="boolean")
  160.      */
  161.     private $has_radiolaria;
  162.     
  163.     /**
  164.      * @ORM\Column(type="boolean")
  165.      */
  166.     private $has_choanoflagellata;
  167.     
  168.     /**
  169.      * @ORM\Column(type="boolean")
  170.      */
  171.     private $has_porifera;
  172.     
  173.     /**
  174.      * @ORM\Column(type="boolean")
  175.      */
  176.     private $has_hemichordata;
  177.     
  178.     /**
  179.      * @ORM\Column(type="boolean")
  180.      */
  181.     private $has_anthozoa;
  182.     
  183.     /**
  184.      * @ORM\Column(type="boolean")
  185.      */
  186.     private $has_medusozoa;
  187.     
  188.     /**
  189.      * @ORM\Column(type="boolean")
  190.      */
  191.     private $has_asterozoa;
  192.     
  193.     /**
  194.      * @ORM\Column(type="boolean")
  195.      */
  196.     private $has_echinoidea;
  197.     
  198.     /**
  199.      * @ORM\Column(type="boolean")
  200.      */
  201.     private $has_crinoidea;
  202.     
  203.     /**
  204.      * @ORM\Column(type="boolean")
  205.      */
  206.     private $has_blastoidea;
  207.     
  208.     /**
  209.      * @ORM\Column(type="boolean")
  210.      */
  211.     private $has_cystoidea;
  212.     
  213.     /**
  214.      * @ORM\Column(type="boolean")
  215.      */
  216.     private $has_agnatha;
  217.     
  218.     /**
  219.      * @ORM\Column(type="boolean")
  220.      */
  221.     private $has_placodermi;
  222.     
  223.     /**
  224.      * @ORM\Column(type="boolean")
  225.      */
  226.     private $has_chimaeriformes;
  227.     
  228.     /**
  229.      * @ORM\Column(type="boolean")
  230.      */
  231.     private $has_elasmobranchii;
  232.     
  233.     /**
  234.      * @ORM\Column(type="boolean")
  235.      */
  236.     private $has_batoidea;
  237.     
  238.     /**
  239.      * @ORM\Column(type="boolean")
  240.      */
  241.     private $has_actinopterygii;
  242.     
  243.     /**
  244.      * @ORM\Column(type="boolean")
  245.      */
  246.     private $has_sarcopterygii;
  247.     
  248.     /**
  249.      * @ORM\Column(type="boolean")
  250.      */
  251.     private $has_dipnoi;
  252.     
  253.     /**
  254.      * @ORM\Column(type="boolean")
  255.      */
  256.     private $has_amphibia;
  257.     
  258.     /**
  259.      * @ORM\Column(type="boolean")
  260.      */
  261.     private $has_mammaliaterrestrium;
  262.     
  263.     /**
  264.      * @ORM\Column(type="boolean")
  265.      */
  266.     private $has_mammaliamarinis;
  267.     
  268.     /**
  269.      * @ORM\Column(type="boolean")
  270.      */
  271.     private $has_anapsida;
  272.     
  273.     /**
  274.      * @ORM\Column(type="boolean")
  275.      */
  276.     private $has_squamata;
  277.     
  278.     /**
  279.      * @ORM\Column(type="boolean")
  280.      */
  281.     private $has_sauropterygia;
  282.     
  283.     /**
  284.      * @ORM\Column(type="boolean")
  285.      */
  286.     private $has_ichthyosauria;
  287.     
  288.     /**
  289.      * @ORM\Column(type="boolean")
  290.      */
  291.     private $has_crocodylomorpha;
  292.     
  293.     /**
  294.      * @ORM\Column(type="boolean")
  295.      */
  296.     private $has_pterosauria;
  297.     
  298.     /**
  299.      * @ORM\Column(type="boolean")
  300.      */
  301.     private $has_dinosauria;
  302.     
  303.     /**
  304.      * @ORM\Column(type="boolean")
  305.      */
  306.     private $has_aves;
  307.     
  308.     /**
  309.      * @ORM\Column(type="boolean")
  310.      */
  311.     private $has_bryozoa;
  312.     
  313.     /**
  314.      * @ORM\Column(type="boolean")
  315.      */
  316.     private $has_platyzoa;
  317.     
  318.     /**
  319.      * @ORM\Column(type="boolean")
  320.      */
  321.     private $has_brachiopoda;
  322.     
  323.     /**
  324.      * @ORM\Column(type="boolean")
  325.      */
  326.     private $has_polychaeta;
  327.     
  328.     /**
  329.      * @ORM\Column(type="boolean")
  330.      */
  331.     private $has_annelida;
  332.     
  333.     /**
  334.      * @ORM\Column(type="boolean")
  335.      */
  336.     private $has_polyplacophora;
  337.     
  338.     /**
  339.      * @ORM\Column(type="boolean")
  340.      */
  341.     private $has_scaphopoda;
  342.     
  343.     /**
  344.      * @ORM\Column(type="boolean")
  345.      */
  346.     private $has_bivalvia;
  347.     
  348.     /**
  349.      * @ORM\Column(type="boolean")
  350.      */
  351.     private $has_rudista;
  352.     
  353.     /**
  354.      * @ORM\Column(type="boolean")
  355.      */
  356.     private $has_gastropoda;
  357.     
  358.     /**
  359.      * @ORM\Column(type="boolean")
  360.      */
  361.     private $has_nautilida;
  362.     
  363.     /**
  364.      * @ORM\Column(type="boolean")
  365.      */
  366.     private $has_nautiloidea;
  367.     
  368.     /**
  369.      * @ORM\Column(type="boolean")
  370.      */
  371.     private $has_goniatitida;
  372.     
  373.     /**
  374.      * @ORM\Column(type="boolean")
  375.      */
  376.     private $has_ceratitida;
  377.     
  378.     /**
  379.      * @ORM\Column(type="boolean")
  380.      */
  381.     private $has_ammonitida;
  382.     
  383.     /**
  384.      * @ORM\Column(type="boolean")
  385.      */
  386.     private $has_belemnoidea;
  387.     
  388.     /**
  389.      * @ORM\Column(type="boolean")
  390.      */
  391.     private $has_neocoleoidea;
  392.     
  393.     /**
  394.      * @ORM\Column(type="boolean")
  395.      */
  396.     private $has_trilobita;
  397.     
  398.     /**
  399.      * @ORM\Column(type="boolean")
  400.      */
  401.     private $has_arachnida;
  402.     
  403.     /**
  404.      * @ORM\Column(type="boolean")
  405.      */
  406.     private $has_merostomata;
  407.     
  408.     /**
  409.      * @ORM\Column(type="boolean")
  410.      */
  411.     private $has_myriapoda;
  412.     
  413.     /**
  414.      * @ORM\Column(type="boolean")
  415.      */
  416.     private $has_ostracoda;
  417.     
  418.     /**
  419.      * @ORM\Column(type="boolean")
  420.      */
  421.     private $has_crustacea;
  422.     
  423.     /**
  424.      * @ORM\Column(type="boolean")
  425.      */
  426.     private $has_hexapoda;
  427.     
  428.     /**
  429.      * @ORM\Column(type="boolean")
  430.      */
  431.     private $has_fungi;
  432.     
  433.     /**
  434.      * @ORM\Column(type="boolean")
  435.      */
  436.     private $has_mycetozoa;
  437.     
  438.     /**
  439.      * @ORM\Column(type="boolean")
  440.      */
  441.     private $has_angiospermae;
  442.     
  443.     /**
  444.      * @ORM\Column(type="boolean")
  445.      */
  446.     private $has_coniferophyta;
  447.     
  448.     /**
  449.      * @ORM\Column(type="boolean")
  450.      */
  451.     private $has_ginkgophyta;
  452.     
  453.     /**
  454.      * @ORM\Column(type="boolean")
  455.      */
  456.     private $has_cycadophyta;
  457.     
  458.     /**
  459.      * @ORM\Column(type="boolean")
  460.      */
  461.     private $has_pteridospermophyta;
  462.     
  463.     /**
  464.      * @ORM\Column(type="boolean")
  465.      */
  466.     private $has_pteridophyta;
  467.     
  468.     /**
  469.      * @ORM\Column(type="boolean")
  470.      */
  471.     private $has_sphenophyta;
  472.     
  473.     /**
  474.      * @ORM\Column(type="boolean")
  475.      */
  476.     private $has_lycophyta;
  477.     
  478.     /**
  479.      * @ORM\Column(type="boolean")
  480.      */
  481.     private $has_bryophyta;
  482.     
  483.     /**
  484.      * @ORM\Column(type="boolean")
  485.      */
  486.     private $has_chlorophyta;
  487.     
  488.     /**
  489.      * @ORM\Column(type="boolean")
  490.      */
  491.     private $has_ichnofossilia;
  492.     
  493.     /**
  494.      * @ORM\Column(type="boolean")
  495.      */
  496.     private $has_incertaesedis;
  497.     /**
  498.      * @ORM\OneToMany(targetEntity="App\Entity\LocationsGIS", mappedBy="fossil")
  499.      */
  500.     private $locationsGIS;
  501.     /**
  502.      * @ORM\Column(type="integer", options={"default" : 0})
  503.      */
  504.     private $user_id;
  505.     /**
  506.      * @ORM\Column(type="string", length=180, nullable=true)
  507.      */
  508.     private $username;
  509.     /**
  510.      * @ORM\Column(type="boolean", options={"default" : 0})
  511.      */
  512.     private $approved;
  513.     /**
  514.      * @ORM\Column(type="integer", options={"default" : 0}, nullable=true)
  515.      */
  516.     private $approved_user_id;
  517.     /**
  518.      * @ORM\Column(type="string", length=180, options={"default" : 0}, nullable=true)
  519.      */
  520.     private $approved_username;
  521.     /**
  522.      * @ORM\OneToMany(targetEntity="App\Entity\LocationReviews", mappedBy="fossil")
  523.      */
  524.     private $reviews;
  525.     /**
  526.      * @ORM\Column(type="integer")
  527.      */
  528.     private $num_reviews;
  529.     /**
  530.      * @ORM\Column(type="integer")
  531.      */
  532.     private $num_new_photos;
  533.     /**
  534.      * @ORM\OneToMany(targetEntity="App\Entity\Literature", mappedBy="LocationsFossil")
  535.      */
  536.     private $literatures;
  537.     /**
  538.      * @ORM\OneToMany(targetEntity="App\Entity\LocationPhotos", mappedBy="fossil")
  539.      */
  540.     private $locationPhotos;
  541.     /**
  542.      * @ORM\OneToMany(targetEntity=FossildbFossil::class, mappedBy="location_fossil")
  543.      */
  544.     private $fossils;
  545.     public function __construct()
  546.     {
  547.         $this->locationsGIS = new ArrayCollection();
  548.         $this->reviews = new ArrayCollection();
  549.         $this->literatures = new ArrayCollection();
  550.         $this->locationPhotos = new ArrayCollection();
  551.         $this->fossils = new ArrayCollection();
  552.     }
  553.     public function getId(): ?int
  554.     {
  555.         return $this->id;
  556.     }
  557.     public function getNameNl(): ?string
  558.     {
  559.         return $this->name_nl;
  560.     }
  561.     public function setNameNl(string $name_nl): self
  562.     {
  563.         $this->name_nl $name_nl;
  564.         return $this;
  565.     }
  566.     public function getNameEn(): ?string
  567.     {
  568.         return $this->name_en;
  569.     }
  570.     public function setNameEn(string $name_en): self
  571.     {
  572.         $this->name_en $name_en;
  573.         return $this;
  574.     }
  575.     public function getLocation(): ?string
  576.     {
  577.         return $this->location;
  578.     }
  579.     public function setLocation(string $location): self
  580.     {
  581.         $this->location $location;
  582.         return $this;
  583.     }
  584.     public function getDateAdded(): ?\DateTimeInterface
  585.     {
  586.         return $this->date_added;
  587.     }
  588.     public function setDateAdded(?\DateTimeInterface $date_added): self
  589.     {
  590.         $this->date_added $date_added;
  591.         return $this;
  592.     }
  593.     public function getDateReviewed(): ?\DateTimeInterface
  594.     {
  595.         return $this->date_reviewed;
  596.     }
  597.     public function setDateReviewed(?\DateTimeInterface $date_reviewed): self
  598.     {
  599.         $this->date_reviewed $date_reviewed;
  600.         return $this;
  601.     }
  602.     public function getVulnerability(): ?string
  603.     {
  604.         return $this->vulnerability;
  605.     }
  606.     public function setVulnerability(string $vulnerability): self
  607.     {
  608.         $this->vulnerability $vulnerability;
  609.         return $this;
  610.     }
  611.     public function getDescriptionNl(): ?string
  612.     {
  613.         return $this->description_nl;
  614.     }
  615.     public function setDescriptionNl(string $description_nl): self
  616.     {
  617.         $this->description_nl $description_nl;
  618.         return $this;
  619.     }
  620.     public function getDescriptionEn(): ?string
  621.     {
  622.         return $this->description_en;
  623.     }
  624.     public function setDescriptionEn(string $description_en): self
  625.     {
  626.         $this->description_en $description_en;
  627.         return $this;
  628.     }
  629.     public function getRouteNl(): ?string
  630.     {
  631.         return $this->route_nl;
  632.     }
  633.     public function setRouteNl(?string $route_nl): self
  634.     {
  635.         $this->route_nl $route_nl;
  636.         return $this;
  637.     }
  638.     public function getRouteEn(): ?string
  639.     {
  640.         return $this->route_en;
  641.     }
  642.     public function setRouteEn(?string $route_en): self
  643.     {
  644.         $this->route_en $route_en;
  645.         return $this;
  646.     }
  647.     public function getClosed(): ?bool
  648.     {
  649.         return $this->closed;
  650.     }
  651.     public function setClosed(bool $closed): self
  652.     {
  653.         $this->closed $closed;
  654.         return $this;
  655.     }
  656.     public function getIsNeogene(): ?bool
  657.     {
  658.         return $this->is_neogene;
  659.     }
  660.     public function setIsNeogene(bool $is_neogene): self
  661.     {
  662.         $this->is_neogene $is_neogene;
  663.         return $this;
  664.     }
  665.     public function getIsPaleogene(): ?bool
  666.     {
  667.         return $this->is_paleogene;
  668.     }
  669.     public function setIsPaleogene(bool $is_paleogene): self
  670.     {
  671.         $this->is_paleogene $is_paleogene;
  672.         return $this;
  673.     }
  674.     public function getIsQuaternary(): ?bool
  675.     {
  676.         return $this->is_quaternary;
  677.     }
  678.     public function setIsQuaternary(bool $is_quaternary): self
  679.     {
  680.         $this->is_quaternary $is_quaternary;
  681.         return $this;
  682.     }
  683.     public function getIsCretaceous(): ?bool
  684.     {
  685.         return $this->is_cretaceous;
  686.     }
  687.     public function setIsCretaceous(bool $is_cretaceous): self
  688.     {
  689.         $this->is_cretaceous $is_cretaceous;
  690.         return $this;
  691.     }
  692.     public function getIsJurassic(): ?bool
  693.     {
  694.         return $this->is_jurassic;
  695.     }
  696.     public function setIsJurassic(bool $is_jurassic): self
  697.     {
  698.         $this->is_jurassic $is_jurassic;
  699.         return $this;
  700.     }
  701.     public function getIsTriassic(): ?bool
  702.     {
  703.         return $this->is_triassic;
  704.     }
  705.     public function setIsTriassic(bool $is_triassic): self
  706.     {
  707.         $this->is_triassic $is_triassic;
  708.         return $this;
  709.     }
  710.     public function getIsPermian(): ?bool
  711.     {
  712.         return $this->is_permian;
  713.     }
  714.     public function setIsPermian(bool $is_permian): self
  715.     {
  716.         $this->is_permian $is_permian;
  717.         return $this;
  718.     }
  719.     public function getIsCarboniferous(): ?bool
  720.     {
  721.         return $this->is_carboniferous;
  722.     }
  723.     public function setIsCarboniferous(bool $is_carboniferous): self
  724.     {
  725.         $this->is_carboniferous $is_carboniferous;
  726.         return $this;
  727.     }
  728.     public function getIsDevonian(): ?bool
  729.     {
  730.         return $this->is_devonian;
  731.     }
  732.     public function setIsDevonian(bool $is_devonian): self
  733.     {
  734.         $this->is_devonian $is_devonian;
  735.         return $this;
  736.     }
  737.     public function getIsSilurian(): ?bool
  738.     {
  739.         return $this->is_silurian;
  740.     }
  741.     public function setIsSilurian(bool $is_silurian): self
  742.     {
  743.         $this->is_silurian $is_silurian;
  744.         return $this;
  745.     }
  746.     public function getIsOrdovician(): ?bool
  747.     {
  748.         return $this->is_ordovician;
  749.     }
  750.     public function setIsOrdovician(bool $is_ordovician): self
  751.     {
  752.         $this->is_ordovician $is_ordovician;
  753.         return $this;
  754.     }
  755.     public function getIsCambrian(): ?bool
  756.     {
  757.         return $this->is_cambrian;
  758.     }
  759.     public function setIsCambrian(bool $is_cambrian): self
  760.     {
  761.         $this->is_cambrian $is_cambrian;
  762.         return $this;
  763.     }
  764.     public function getIsPrecambrian(): ?bool
  765.     {
  766.         return $this->is_precambrian;
  767.     }
  768.     public function setIsPrecambrian(bool $is_precambrian): self
  769.     {
  770.         $this->is_precambrian $is_precambrian;
  771.         return $this;
  772.     }
  773.     
  774.     public function getHasDinosauria(): ?bool
  775.     {
  776.         return $this->has_dinosauria;
  777.     }
  778.     public function setHasDinosauria(bool $has_dinosauria): self
  779.     {
  780.         $this->has_dinosauria $has_dinosauria;
  781.         return $this;
  782.     }
  783.     
  784.     public function getHasChlorophyta(): ?bool
  785.     {
  786.         return $this->has_chlorophyta;
  787.     }
  788.     public function setHasChlorophyta(bool $has_chlorophyta): self
  789.     {
  790.         $this->has_chlorophyta $has_chlorophyta;
  791.         return $this;
  792.     }
  793.     
  794.     public function getHasBelemnoidea(): ?bool
  795.     {
  796.         return $this->has_belemnoidea;
  797.     }
  798.     public function setHasBelemnoidea(bool $has_belemnoidea): self
  799.     {
  800.         $this->has_belemnoidea $has_belemnoidea;
  801.         return $this;
  802.     }
  803.     
  804.     public function getHasBivalvia(): ?bool
  805.     {
  806.         return $this->has_bivalvia;
  807.     }
  808.     public function setHasBivalvia(bool $has_bivalvia): self
  809.     {
  810.         $this->has_bivalvia $has_bivalvia;
  811.         return $this;
  812.     }
  813.     
  814.     public function getHasBrachiopoda(): ?bool
  815.     {
  816.         return $this->has_brachiopoda;
  817.     }
  818.     public function setHasBrachiopoda(bool $has_brachiopoda): self
  819.     {
  820.         $this->has_brachiopoda $has_brachiopoda;
  821.         return $this;
  822.     }
  823.     
  824.     public function getHasBryozoa(): ?bool
  825.     {
  826.         return $this->has_bryozoa;
  827.     }
  828.     public function setHasBryozoa(bool $has_bryozoa): self
  829.     {
  830.         $this->has_bryozoa $has_bryozoa;
  831.         return $this;
  832.     }
  833.     
  834.     public function getHasAmmonitida(): ?bool
  835.     {
  836.         return $this->has_ammonitida;
  837.     }
  838.     public function setHasAmmonitida(bool $has_ammonitida): self
  839.     {
  840.         $this->has_ammonitida $has_ammonitida;
  841.         return $this;
  842.     }
  843.     
  844.     public function getHasNautiloidea(): ?bool
  845.     {
  846.         return $this->has_nautiloidea;
  847.     }
  848.     public function setHasNautiloidea(bool $has_nautiloidea): self
  849.     {
  850.         $this->has_nautiloidea $has_nautiloidea;
  851.         return $this;
  852.     }
  853.     
  854.     public function getHasCrinoidea(): ?bool
  855.     {
  856.         return $this->has_crinoidea;
  857.     }
  858.     public function setHasCrinoidea(bool $has_crinoidea): self
  859.     {
  860.         $this->has_crinoidea $has_crinoidea;
  861.         return $this;
  862.     }
  863.     
  864.     public function getHasForaminifera(): ?bool
  865.     {
  866.         return $this->has_foraminifera;
  867.     }
  868.     public function setHasForaminifera(bool $has_foraminifera): self
  869.     {
  870.         $this->has_foraminifera $has_foraminifera;
  871.         return $this;
  872.     }
  873.     
  874.     public function getHasGastropoda(): ?bool
  875.     {
  876.         return $this->has_gastropoda;
  877.     }
  878.     public function setHasGastropoda(bool $has_gastropoda): self
  879.     {
  880.         $this->has_gastropoda $has_gastropoda;
  881.         return $this;
  882.     }
  883.     
  884.     public function getHasHemichordata(): ?bool
  885.     {
  886.         return $this->has_hemichordata;
  887.     }
  888.     public function setHasHemichordata(bool $has_hemichordata): self
  889.     {
  890.         $this->has_hemichordata $has_hemichordata;
  891.         return $this;
  892.     }
  893.     
  894.     public function getHasHexapoda(): ?bool
  895.     {
  896.         return $this->has_hexapoda;
  897.     }
  898.     public function setHasHexapoda(bool $has_hexapoda): self
  899.     {
  900.         $this->has_hexapoda $has_hexapoda;
  901.         return $this;
  902.     }
  903.     
  904.     public function getHasAnthozoa(): ?bool
  905.     {
  906.         return $this->has_anthozoa;
  907.     }
  908.     public function setHasAnthozoa(bool $has_anthozoa): self
  909.     {
  910.         $this->has_anthozoa $has_anthozoa;
  911.         return $this;
  912.     }
  913.     
  914.     public function getHasCrustacea(): ?bool
  915.     {
  916.         return $this->has_crustacea;
  917.     }
  918.     public function setHasCrustacea(bool $has_crustacea): self
  919.     {
  920.         $this->has_crustacea $has_crustacea;
  921.         return $this;
  922.     }
  923.     
  924.     public function getHasMammaliaTerrestrium(): ?bool
  925.     {
  926.         return $this->has_mammaliaterrestrium;
  927.     }
  928.     public function setHasMammaliaTerrestrium(bool $has_mammaliaterrestrium): self
  929.     {
  930.         $this->has_mammaliaterrestrium $has_mammaliaterrestrium;
  931.         return $this;
  932.     }
  933.     
  934.     public function getHasOstracoda(): ?bool
  935.     {
  936.         return $this->has_ostracoda;
  937.     }
  938.     public function setHasOstracoda(bool $has_ostracoda): self
  939.     {
  940.         $this->has_ostracoda $has_ostracoda;
  941.         return $this;
  942.     }
  943.     
  944.     public function getHasAngiospermae(): ?bool
  945.     {
  946.         return $this->has_angiospermae;
  947.     }
  948.     public function setHasAngiospermae(bool $has_angiospermae): self
  949.     {
  950.         $this->has_angiospermae $has_angiospermae;
  951.         return $this;
  952.     }
  953.     
  954.     public function getHasConiferophyta(): ?bool
  955.     {
  956.         return $this->has_coniferophyta;
  957.     }
  958.     public function setHasConiferophyta(bool $has_coniferophyta): self
  959.     {
  960.         $this->has_coniferophyta $has_coniferophyta;
  961.         return $this;
  962.     }
  963.     
  964.     public function getHasCycadophyta(): ?bool
  965.     {
  966.         return $this->has_cycadophyta;
  967.     }
  968.     public function setHasCycadophyta(bool $has_cycadophyta): self
  969.     {
  970.         $this->has_cycadophyta $has_cycadophyta;
  971.         return $this;
  972.     }
  973.     
  974.     public function getHasLycophyta(): ?bool
  975.     {
  976.         return $this->has_lycophyta;
  977.     }
  978.     public function setHasLycophyta(bool $has_lycophyta): self
  979.     {
  980.         $this->has_lycophyta $has_lycophyta;
  981.         return $this;
  982.     }
  983.     
  984.     public function getHasPteridophyta(): ?bool
  985.     {
  986.         return $this->has_pteridophyta;
  987.     }
  988.     public function setHasPteridophyta(bool $has_pteridophyta): self
  989.     {
  990.         $this->has_pteridophyta $has_pteridophyta;
  991.         return $this;
  992.     }
  993.     
  994.     public function getHasPteridospermophyta(): ?bool
  995.     {
  996.         return $this->has_pteridospermophyta;
  997.     }
  998.     public function setHasPteridospermophyta(bool $has_pteridospermophyta): self
  999.     {
  1000.         $this->has_pteridospermophyta $has_pteridospermophyta;
  1001.         return $this;
  1002.     }
  1003.     
  1004.     public function getHasSphenophyta(): ?bool
  1005.     {
  1006.         return $this->has_sphenophyta;
  1007.     }
  1008.     public function setHasSphenophyta(bool $has_sphenophyta): self
  1009.     {
  1010.         $this->has_sphenophyta $has_sphenophyta;
  1011.         return $this;
  1012.     }
  1013.     
  1014.     public function getHasRudista(): ?bool
  1015.     {
  1016.         return $this->has_rudista;
  1017.     }
  1018.     public function setHasRudista(bool $has_rudista): self
  1019.     {
  1020.         $this->has_rudista $has_rudista;
  1021.         return $this;
  1022.     }
  1023.     
  1024.     public function getHasPolychaeta(): ?bool
  1025.     {
  1026.         return $this->has_polychaeta;
  1027.     }
  1028.     public function setHasPolychaeta(bool $has_polychaeta): self
  1029.     {
  1030.         $this->has_polychaeta $has_polychaeta;
  1031.         return $this;
  1032.     }
  1033.     
  1034.     public function getHasPorifera(): ?bool
  1035.     {
  1036.         return $this->has_porifera;
  1037.     }
  1038.     public function setHasPorifera(bool $has_porifera): self
  1039.     {
  1040.         $this->has_porifera $has_porifera;
  1041.         return $this;
  1042.     }
  1043.     
  1044.     public function getHasIchnofossilia(): ?bool
  1045.     {
  1046.         return $this->has_ichnofossilia;
  1047.     }
  1048.     public function setHasIchnofossilia(bool $has_ichnofossilia): self
  1049.     {
  1050.         $this->has_ichnofossilia $has_ichnofossilia;
  1051.         return $this;
  1052.     }
  1053.     
  1054.     public function getHasTrilobita(): ?bool
  1055.     {
  1056.         return $this->has_trilobita;
  1057.     }
  1058.     public function setHasTrilobita(bool $has_trilobita): self
  1059.     {
  1060.         $this->has_trilobita $has_trilobita;
  1061.         return $this;
  1062.     }
  1063.     
  1064.     public function getHasElasmobranchii(): ?bool
  1065.     {
  1066.         return $this->has_elasmobranchii;
  1067.     }
  1068.     public function setHasElasmobranchii(bool $has_elasmobranchii): self
  1069.     {
  1070.         $this->has_elasmobranchii $has_elasmobranchii;
  1071.         return $this;
  1072.     }
  1073.     
  1074.     public function getHasBatoidea(): ?bool
  1075.     {
  1076.         return $this->has_batoidea;
  1077.     }
  1078.     public function setHasBatoidea(bool $has_batoidea): self
  1079.     {
  1080.         $this->has_batoidea $has_batoidea;
  1081.         return $this;
  1082.     }
  1083.     
  1084.     public function getHasAves(): ?bool
  1085.     {
  1086.         return $this->has_aves;
  1087.     }
  1088.     public function setHasAves(bool $has_aves): self
  1089.     {
  1090.         $this->has_aves $has_aves;
  1091.         return $this;
  1092.     }
  1093.     
  1094.     public function getHasEchinoidea(): ?bool
  1095.     {
  1096.         return $this->has_echinoidea;
  1097.     }
  1098.     public function setHasEchinoidea(bool $has_echinoidea): self
  1099.     {
  1100.         $this->has_echinoidea $has_echinoidea;
  1101.         return $this;
  1102.     }
  1103.     
  1104.     public function getHasMammaliaMarinis(): ?bool
  1105.     {
  1106.         return $this->has_mammaliamarinis;
  1107.     }
  1108.     public function setHasMammaliaMarinis(bool $has_mammaliamarinis): self
  1109.     {
  1110.         $this->has_mammaliamarinis $has_mammaliamarinis;
  1111.         return $this;
  1112.     }
  1113.     public function getHasBacteria(): ?bool
  1114.     {
  1115.         return $this->has_bacteria;
  1116.     }
  1117.     public function setHasBacteria(bool $has_bacteria): self
  1118.     {
  1119.         $this->has_bacteria $has_bacteria;
  1120.         return $this;
  1121.     }
  1122.     
  1123.     public function getHasArchaebacteria(): ?bool
  1124.     {
  1125.         return $this->has_archaebacteria;
  1126.     }
  1127.     public function setHasArchaebacteria(bool $has_archaebacteria): self
  1128.     {
  1129.         $this->has_archaebacteria $has_archaebacteria;
  1130.         return $this;
  1131.     }
  1132.     
  1133.     public function getHasPhaeophyceae(): ?bool
  1134.     {
  1135.         return $this->has_phaeophyceae;
  1136.     }
  1137.     public function setHasPhaeophyceae(bool $has_phaeophyceae): self
  1138.     {
  1139.         $this->has_phaeophyceae $has_phaeophyceae;
  1140.         return $this;
  1141.     }
  1142.     
  1143.     public function getHasDiatomophyceae(): ?bool
  1144.     {
  1145.         return $this->has_diatomophyceae;
  1146.     }
  1147.     public function setHasDiatomophyceae(bool $has_diatomophyceae): self
  1148.     {
  1149.         $this->has_diatomophyceae $has_diatomophyceae;
  1150.         return $this;
  1151.     }
  1152.     
  1153.     public function getHasRadiolaria(): ?bool
  1154.     {
  1155.         return $this->has_radiolaria;
  1156.     }
  1157.     public function setHasRadiolaria(bool $has_radiolaria): self
  1158.     {
  1159.         $this->has_radiolaria $has_radiolaria;
  1160.         return $this;
  1161.     }
  1162.     
  1163.     public function getHasChoanoflagellata(): ?bool
  1164.     {
  1165.         return $this->has_choanoflagellata;
  1166.     }
  1167.     public function setHasChoanoflagellata(bool $has_choanoflagellata): self
  1168.     {
  1169.         $this->has_choanoflagellata $has_choanoflagellata;
  1170.         return $this;
  1171.     }
  1172.     
  1173.     public function getHasMedusozoa(): ?bool
  1174.     {
  1175.         return $this->has_medusozoa;
  1176.     }
  1177.     public function setHasMedusozoa(bool $has_medusozoa): self
  1178.     {
  1179.         $this->has_medusozoa $has_medusozoa;
  1180.         return $this;
  1181.     }
  1182.     
  1183.     public function getHasAsterozoa(): ?bool
  1184.     {
  1185.         return $this->has_asterozoa;
  1186.     }
  1187.     public function setHasAsterozoa(bool $has_asterozoa): self
  1188.     {
  1189.         $this->has_asterozoa $has_asterozoa;
  1190.         return $this;
  1191.     }
  1192.     
  1193.     public function getHasBlastoidea(): ?bool
  1194.     {
  1195.         return $this->has_blastoidea;
  1196.     }
  1197.     public function setHasBlastoidea(bool $has_blastoidea): self
  1198.     {
  1199.         $this->has_blastoidea $has_blastoidea;
  1200.         return $this;
  1201.     }
  1202.     
  1203.     public function getHasCystoidea(): ?bool
  1204.     {
  1205.         return $this->has_cystoidea;
  1206.     }
  1207.     public function setHasCystoidea(bool $has_cystoidea): self
  1208.     {
  1209.         $this->has_cystoidea $has_cystoidea;
  1210.         return $this;
  1211.     }
  1212.     
  1213.     public function getHasAgnatha(): ?bool
  1214.     {
  1215.         return $this->has_agnatha;
  1216.     }
  1217.     public function setHasAgnatha(bool $has_agnatha): self
  1218.     {
  1219.         $this->has_agnatha $has_agnatha;
  1220.         return $this;
  1221.     }
  1222.     
  1223.     public function getHasPlacodermi(): ?bool
  1224.     {
  1225.         return $this->has_placodermi;
  1226.     }
  1227.     public function setHasPlacodermi(bool $has_placodermi): self
  1228.     {
  1229.         $this->has_placodermi $has_placodermi;
  1230.         return $this;
  1231.     }
  1232.     
  1233.     public function getHasChimaeriformes(): ?bool
  1234.     {
  1235.         return $this->has_chimaeriformes;
  1236.     }
  1237.     public function setHasChimaeriformes(bool $has_chimaeriformes): self
  1238.     {
  1239.         $this->has_chimaeriformes $has_chimaeriformes;
  1240.         return $this;
  1241.     }
  1242.     
  1243.     public function getHasActinopterygii(): ?bool
  1244.     {
  1245.         return $this->has_actinopterygii;
  1246.     }
  1247.     public function setHasActinopterygii(bool $has_actinopterygii): self
  1248.     {
  1249.         $this->has_actinopterygii $has_actinopterygii;
  1250.         return $this;
  1251.     }
  1252.     
  1253.     public function getHasSarcopterygii(): ?bool
  1254.     {
  1255.         return $this->has_sarcopterygii;
  1256.     }
  1257.     public function setHasSarcopterygii(bool $has_sarcopterygii): self
  1258.     {
  1259.         $this->has_sarcopterygii $has_sarcopterygii;
  1260.         return $this;
  1261.     }
  1262.     
  1263.     public function getHasDipnoi(): ?bool
  1264.     {
  1265.         return $this->has_dipnoi;
  1266.     }
  1267.     public function setHasDipnoi(bool $has_dipnoi): self
  1268.     {
  1269.         $this->has_dipnoi $has_dipnoi;
  1270.         return $this;
  1271.     }
  1272.     
  1273.     public function getHasAmphibia(): ?bool
  1274.     {
  1275.         return $this->has_amphibia;
  1276.     }
  1277.     public function setHasAmphibia(bool $has_amphibia): self
  1278.     {
  1279.         $this->has_amphibia $has_amphibia;
  1280.         return $this;
  1281.     }
  1282.     
  1283.     public function getHasAnapsida(): ?bool
  1284.     {
  1285.         return $this->has_anapsida;
  1286.     }
  1287.     public function setHasAnapsida(bool $has_anapsida): self
  1288.     {
  1289.         $this->has_anapsida $has_anapsida;
  1290.         return $this;
  1291.     }
  1292.     
  1293.     public function getHasSquamata(): ?bool
  1294.     {
  1295.         return $this->has_squamata;
  1296.     }
  1297.     public function setHasSquamata(bool $has_squamata): self
  1298.     {
  1299.         $this->has_squamata $has_squamata;
  1300.         return $this;
  1301.     }
  1302.     
  1303.     public function getHasSauropterygia(): ?bool
  1304.     {
  1305.         return $this->has_sauropterygia;
  1306.     }
  1307.     public function setHasSauropterygia(bool $has_sauropterygia): self
  1308.     {
  1309.         $this->has_sauropterygia $has_sauropterygia;
  1310.         return $this;
  1311.     }
  1312.     
  1313.     public function getHasIchthyosauria(): ?bool
  1314.     {
  1315.         return $this->has_ichthyosauria;
  1316.     }
  1317.     public function setHasIchthyosauria(bool $has_ichthyosauria): self
  1318.     {
  1319.         $this->has_ichthyosauria $has_ichthyosauria;
  1320.         return $this;
  1321.     }
  1322.     
  1323.     public function getHasCrocodylomorpha(): ?bool
  1324.     {
  1325.         return $this->has_crocodylomorpha;
  1326.     }
  1327.     public function setHasCrocodylomorpha(bool $has_crocodylomorpha): self
  1328.     {
  1329.         $this->has_crocodylomorpha $has_crocodylomorpha;
  1330.         return $this;
  1331.     }
  1332.     
  1333.     public function getHasPterosauria(): ?bool
  1334.     {
  1335.         return $this->has_pterosauria;
  1336.     }
  1337.     public function setHasPterosauria(bool $has_pterosauria): self
  1338.     {
  1339.         $this->has_pterosauria $has_pterosauria;
  1340.         return $this;
  1341.     }
  1342.     
  1343.     public function getHasPlatyzoa(): ?bool
  1344.     {
  1345.         return $this->has_platyzoa;
  1346.     }
  1347.     public function setHasPlatyzoa(bool $has_platyzoa): self
  1348.     {
  1349.         $this->has_platyzoa $has_platyzoa;
  1350.         return $this;
  1351.     }
  1352.     
  1353.     public function getHasAnnelida(): ?bool
  1354.     {
  1355.         return $this->has_annelida;
  1356.     }
  1357.     public function setHasAnnelida(bool $has_annelida): self
  1358.     {
  1359.         $this->has_annelida $has_annelida;
  1360.         return $this;
  1361.     }
  1362.     
  1363.     public function getHasPolyplacophora(): ?bool
  1364.     {
  1365.         return $this->has_polyplacophora;
  1366.     }
  1367.     public function setHasPolyplacophora(bool $has_polyplacophora): self
  1368.     {
  1369.         $this->has_polyplacophora $has_polyplacophora;
  1370.         return $this;
  1371.     }
  1372.     
  1373.     public function getHasScaphopoda(): ?bool
  1374.     {
  1375.         return $this->has_scaphopoda;
  1376.     }
  1377.     public function setHasScaphopoda(bool $has_scaphopoda): self
  1378.     {
  1379.         $this->has_scaphopoda $has_scaphopoda;
  1380.         return $this;
  1381.     }
  1382.     
  1383.     public function getHasNautilida(): ?bool
  1384.     {
  1385.         return $this->has_nautilida;
  1386.     }
  1387.     public function setHasNautilida(bool $has_nautilida): self
  1388.     {
  1389.         $this->has_nautilida $has_nautilida;
  1390.         return $this;
  1391.     }
  1392.     
  1393.     public function getHasGoniatitida(): ?bool
  1394.     {
  1395.         return $this->has_goniatitida;
  1396.     }
  1397.     public function setHasGoniatitida(bool $has_goniatitida): self
  1398.     {
  1399.         $this->has_goniatitida $has_goniatitida;
  1400.         return $this;
  1401.     }
  1402.     
  1403.     public function getHasCeratitida(): ?bool
  1404.     {
  1405.         return $this->has_ceratitida;
  1406.     }
  1407.     public function setHasCeratitida(bool $has_ceratitida): self
  1408.     {
  1409.         $this->has_ceratitida $has_ceratitida;
  1410.         return $this;
  1411.     }
  1412.     
  1413.     public function getHasNeocoleoidea(): ?bool
  1414.     {
  1415.         return $this->has_neocoleoidea;
  1416.     }
  1417.     public function setHasNeocoleoidea(bool $has_neocoleoidea): self
  1418.     {
  1419.         $this->has_neocoleoidea $has_neocoleoidea;
  1420.         return $this;
  1421.     }
  1422.     
  1423.     public function getHasArachnida(): ?bool
  1424.     {
  1425.         return $this->has_arachnida;
  1426.     }
  1427.     public function setHasArachnida(bool $has_arachnida): self
  1428.     {
  1429.         $this->has_arachnida $has_arachnida;
  1430.         return $this;
  1431.     }
  1432.     
  1433.     public function getHasMerostomata(): ?bool
  1434.     {
  1435.         return $this->has_merostomata;
  1436.     }
  1437.     public function setHasMerostomata(bool $has_merostomata): self
  1438.     {
  1439.         $this->has_merostomata $has_merostomata;
  1440.         return $this;
  1441.     }
  1442.     
  1443.     public function getHasMyriapoda(): ?bool
  1444.     {
  1445.         return $this->has_myriapoda;
  1446.     }
  1447.     public function setHasMyriapoda(bool $has_myriapoda): self
  1448.     {
  1449.         $this->has_myriapoda $has_myriapoda;
  1450.         return $this;
  1451.     }
  1452.     
  1453.     public function getHasFungi(): ?bool
  1454.     {
  1455.         return $this->has_fungi;
  1456.     }
  1457.     public function setHasFungi(bool $has_fungi): self
  1458.     {
  1459.         $this->has_fungi $has_fungi;
  1460.         return $this;
  1461.     }
  1462.     
  1463.     public function getHasMycetozoa(): ?bool
  1464.     {
  1465.         return $this->has_mycetozoa;
  1466.     }
  1467.     public function setHasMycetozoa(bool $has_mycetozoa): self
  1468.     {
  1469.         $this->has_mycetozoa $has_mycetozoa;
  1470.         return $this;
  1471.     }
  1472.     
  1473.     public function getHasGinkgophyta(): ?bool
  1474.     {
  1475.         return $this->has_ginkgophyta;
  1476.     }
  1477.     public function setHasGinkgophyta(bool $has_ginkgophyta): self
  1478.     {
  1479.         $this->has_ginkgophyta $has_ginkgophyta;
  1480.         return $this;
  1481.     }
  1482.     
  1483.     public function getHasBryophyta(): ?bool
  1484.     {
  1485.         return $this->has_bryophyta;
  1486.     }
  1487.     public function setHasBryophyta(bool $has_bryophyta): self
  1488.     {
  1489.         $this->has_bryophyta $has_bryophyta;
  1490.         return $this;
  1491.     }
  1492.     
  1493.     public function getHasIncertaeSedis(): ?bool
  1494.     {
  1495.         return $this->has_incertaesedis;
  1496.     }
  1497.     public function setHasIncertaeSedis(bool $has_incertaesedis): self
  1498.     {
  1499.         $this->has_incertaesedis $has_incertaesedis;
  1500.         return $this;
  1501.     }
  1502.     public function getFindsNl(): ?string
  1503.     {
  1504.         return $this->finds_nl;
  1505.     }
  1506.     public function setFindsNl(?string $finds_nl): self
  1507.     {
  1508.         $this->finds_nl $finds_nl;
  1509.         return $this;
  1510.     }
  1511.     public function getFindsEn(): ?string
  1512.     {
  1513.         return $this->finds_en;
  1514.     }
  1515.     public function setFindsEn(?string $finds_en): self
  1516.     {
  1517.         $this->finds_en $finds_en;
  1518.         return $this;
  1519.     }
  1520.     public function getCountry(): ?countries
  1521.     {
  1522.         return $this->country;
  1523.     }
  1524.     public function setCountry(?Countries $country): self
  1525.     {
  1526.         $this->country $country;
  1527.         return $this;
  1528.     }
  1529.     /**
  1530.      * @return Collection|LocationsGIS[]
  1531.      */
  1532.     public function getLocationsGIS(): Collection
  1533.     {
  1534.         return $this->locationsGIS;
  1535.     }
  1536.     public function addLocationsGI(LocationsGIS $locationsGI): self
  1537.     {
  1538.         if (!$this->locationsGIS->contains($locationsGI)) {
  1539.             $this->locationsGIS[] = $locationsGI;
  1540.             $locationsGI->setFossil($this);
  1541.         }
  1542.         return $this;
  1543.     }
  1544.     public function removeLocationsGI(LocationsGIS $locationsGI): self
  1545.     {
  1546.         if ($this->locationsGIS->contains($locationsGI)) {
  1547.             $this->locationsGIS->removeElement($locationsGI);
  1548.             // set the owning side to null (unless already changed)
  1549.             if ($locationsGI->getFossil() === $this) {
  1550.                 $locationsGI->setFossil(null);
  1551.             }
  1552.         }
  1553.         return $this;
  1554.     }
  1555.     public function getUserId(): ?int
  1556.     {
  1557.         return $this->user_id;
  1558.     }
  1559.     public function setUserId(int $user_id): self
  1560.     {
  1561.         $this->user_id $user_id;
  1562.         return $this;
  1563.     }
  1564.     public function getUsername(): ?string
  1565.     {
  1566.         return $this->username;
  1567.     }
  1568.     public function setUsername(string $username): self
  1569.     {
  1570.         $this->username $username;
  1571.         return $this;
  1572.     }
  1573.     public function getApproved(): ?bool
  1574.     {
  1575.         return $this->approved;
  1576.     }
  1577.     public function setApproved(bool $approved): self
  1578.     {
  1579.         $this->approved $approved;
  1580.         return $this;
  1581.     }
  1582.     public function getApprovedUserId(): ?int
  1583.     {
  1584.         return $this->approved_user_id;
  1585.     }
  1586.     public function setApprovedUserId(int $approved_user_id): self
  1587.     {
  1588.         $this->approved_user_id $approved_user_id;
  1589.         return $this;
  1590.     }
  1591.     public function getApprovedUsername(): ?string
  1592.     {
  1593.         return $this->approved_username;
  1594.     }
  1595.     public function setApprovedUsername(string $approved_username): self
  1596.     {
  1597.         $this->approved_username $approved_username;
  1598.         return $this;
  1599.     }
  1600.     /**
  1601.      * @return Collection|Reviews[]
  1602.      */
  1603.     public function getReviews(): Collection
  1604.     {
  1605.         return $this->reviews;
  1606.     }
  1607.     public function addReview(LocationReviews $review): self
  1608.     {
  1609.         if (!$this->reviews->contains($review)) {
  1610.             $this->reviews[] = $review;
  1611.             $review->setMuseum($this);
  1612.         }
  1613.         return $this;
  1614.     }
  1615.     public function removeReview(LocationReviews $review): self
  1616.     {
  1617.         if ($this->reviews->contains($review)) {
  1618.             $this->reviews->removeElement($review);
  1619.             // set the owning side to null (unless already changed)
  1620.             if ($review->getMuseum() === $this) {
  1621.                 $review->setMuseum(null);
  1622.             }
  1623.         }
  1624.         return $this;
  1625.     }
  1626.     public function getNumReviews(): ?int
  1627.     {
  1628.         return $this->num_reviews;
  1629.     }
  1630.     public function setNumReviews(int $num_reviews): self
  1631.     {
  1632.         $this->num_reviews $num_reviews;
  1633.         return $this;
  1634.     }
  1635.     /**
  1636.      * @return Collection|Literature[]
  1637.      */
  1638.     public function getLiteratures(): Collection
  1639.     {
  1640.         return $this->literatures;
  1641.     }
  1642.     public function addLiterature(Literature $literature): self
  1643.     {
  1644.         if (!$this->literatures->contains($literature)) {
  1645.             $this->literatures[] = $literature;
  1646.             $literature->setLocationsFossil($this);
  1647.         }
  1648.         return $this;
  1649.     }
  1650.     public function removeLiterature(Literature $literature): self
  1651.     {
  1652.         if ($this->literatures->contains($literature)) {
  1653.             $this->literatures->removeElement($literature);
  1654.             // set the owning side to null (unless already changed)
  1655.             if ($literature->getLocationsFossil() === $this) {
  1656.                 $literature->setLocationsFossil(null);
  1657.             }
  1658.         }
  1659.         return $this;
  1660.     }
  1661.     /**
  1662.      * @return Collection|LocationPhotos[]
  1663.      */
  1664.     public function getLocationPhotos(): Collection
  1665.     {
  1666.         return $this->locationPhotos;
  1667.     }
  1668.     public function addLocationPhoto(LocationPhotos $locationPhoto): self
  1669.     {
  1670.         if (!$this->locationPhotos->contains($locationPhoto)) {
  1671.             $this->locationPhotos[] = $locationPhoto;
  1672.             $locationPhoto->setFossil($this);
  1673.         }
  1674.         return $this;
  1675.     }
  1676.     public function removeLocationPhoto(LocationPhotos $locationPhoto): self
  1677.     {
  1678.         if ($this->locationPhotos->contains($locationPhoto)) {
  1679.             $this->locationPhotos->removeElement($locationPhoto);
  1680.             // set the owning side to null (unless already changed)
  1681.             if ($locationPhoto->getFossil() === $this) {
  1682.                 $locationPhoto->setFossil(null);
  1683.             }
  1684.         }
  1685.         return $this;
  1686.     }
  1687.     public function getNumNewPhotos(): ?int
  1688.     {
  1689.         return $this->num_new_photos;
  1690.     }
  1691.     public function setNumNewPhotos(int $num_new_photos): self
  1692.     {
  1693.         $this->num_new_photos $num_new_photos;
  1694.         return $this;
  1695.     }
  1696.     /**
  1697.      * @return Collection|FossildbFossil[]
  1698.      */
  1699.     public function getFossils(): Collection
  1700.     {
  1701.         return $this->fossils;
  1702.     }
  1703.     public function addFossil(FossildbFossil $fossil): self
  1704.     {
  1705.         if (!$this->fossils->contains($fossil)) {
  1706.             $this->fossils[] = $fossil;
  1707.             $fossil->setLocationFossil($this);
  1708.         }
  1709.         return $this;
  1710.     }
  1711.     public function removeFossil(FossildbFossil $fossil): self
  1712.     {
  1713.         if ($this->fossils->contains($fossil)) {
  1714.             $this->fossils->removeElement($fossil);
  1715.             // set the owning side to null (unless already changed)
  1716.             if ($fossil->getLocationFossil() === $this) {
  1717.                 $fossil->setLocationFossil(null);
  1718.             }
  1719.         }
  1720.         return $this;
  1721.     }
  1722. }