src/Entity/Gestiform/Formations/Catalogue/Parcours/Parcours.php line 27
<?phpnamespace App\Entity\Gestiform\Formations\Catalogue\Parcours;use App\Entity\AbstractEntity;use App\Entity\Common\Document;use App\Entity\Common\Upload;use App\Entity\Gestiform\Admin\ApiGestiform;use App\Entity\Gestiform\Admin\MasterListe\Masterlistelg;use App\Entity\Gestiform\Admin\Tarifs\TarifVenteParcours;use App\Entity\Gestiform\Formations\Catalogue\Filiere;use App\Entity\Gestiform\Formations\Catalogue\Module\ModaliteEvaluation;use App\Entity\Gestiform\Formations\Catalogue\Niveau;use App\Entity\Gestiform\Formations\Catalogue\Parcours\Bloc\Bloc;use App\Entity\Gestiform\Formations\Catalogue\Theme\Theme;use App\Entity\Gestiform\Formations\Session\Session;use App\Entity\Gestiform\Users\Formateur;use App\Entity\Trait\ApiGestiformEntity;use App\Repository\Gestiform\Formations\Catalogue\Parcours\ParcoursRepository;use DateTime;use Doctrine\Common\Collections\ArrayCollection;use Doctrine\Common\Collections\Collection;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: ParcoursRepository::class)]class Parcours extends AbstractEntity{use ApiGestiformEntity;#[ORM\Column(type: 'string', length: 255, nullable: true)]private ?string $intitule = null;#[ORM\Column(type: 'string', length: 255, nullable: true)]private ?string $intituleOfficiel = null;#[ORM\Column(type: 'string', length: 255, nullable: true)]private ?string $code = null;#[ORM\Column(type: 'string', length: 255, nullable: true)]private ?string $codeDiplome = null;#[ORM\Column(type: 'string', length: 255, nullable: true)]private ?string $sigle = null;#[ORM\Column(type: 'datetime', nullable: true)]private ?DateTime $dateDebutValide = null;#[ORM\Column(type: 'datetime', nullable: true)]private ?DateTime $dateFinValide = null;#[ORM\Column(type: 'datetime', nullable: true)]private ?DateTime $datePublicationOfficiel = null;#[ORM\Column(type: 'text', nullable: true)]private ?string $plus = null;#[ORM\Column(type: 'text', nullable: true)]private ?string $redirection = null;#[ORM\Column(type: 'boolean', nullable: true)]private ?bool $publication = false;#[ORM\Column(type: 'boolean', nullable: true)]private ?bool $publicationApi = false;#[ORM\Column(type: 'text', nullable: true)]private ?string $tauxObtention = null;#[ORM\Column(type: 'text', nullable: true)]private ?string $tauxAbandon = null;#[ORM\Column(type: 'text', nullable: true)]private ?string $tauxSatisfaction = null;#[ORM\Column(type: 'text', nullable: true)]private ?string $tauxPourSuiteEtude = null;#[ORM\Column(type: 'text', nullable: true)]private ?string $tauxEmployabilite = null;#[ORM\Column(type: 'text', nullable: true)]private ?string $prerequis = null;#[ORM\Column(type: 'text', nullable: true)]private ?string $salaireMoyen = null;#[ORM\Column(type: 'text', nullable: true)]private ?string $livrable = null;#[ORM\Column(type: 'string', length: 255, nullable: true)]private ?string $altBanniere = null;#[ORM\Column(type: 'string', length: 255, nullable: true)]private ?string $altVignette = null;#[ORM\Column(type: 'decimal', precision: 10, scale: 0, nullable: true)]private ?float $tarifJury = null;#[ORM\Column(type: 'decimal', precision: 10, scale: 0, nullable: true)]private ?float $tarifJury2 = null;#[ORM\Column(type: 'boolean', nullable: true)]private ?bool $cpf = false;#[ORM\Column(type: 'string', length: 255, nullable: true)]private ?string $codeCpf = null;#[ORM\Column(type: 'string', length: 255, nullable: true)]private ?string $codeRncpRs = null;#[ORM\Column(type: 'string', length: 255, nullable: true)]private ?string $codeCpfSalarie = null;#[ORM\Column(type: 'string', length: 255, nullable: true)]private ?string $codeCpfDemandeurEmploi = null;#[ORM\Column(type: 'string', length: 255, nullable: true)]private ?string $codeNsf = null;#[ORM\Column(type: 'integer', nullable: true)]private ?int $duree = null;#[ORM\Column(type: 'integer', nullable: true)]private ?int $dureeModulaire = null;#[ORM\Column(type: 'boolean', nullable: true)]private ?bool $rncp = null;#[ORM\Column(type: 'integer', nullable: true)]private ?int $dureeAccompagnement = null;#[ORM\Column(type: 'integer', nullable: true)]private ?int $dureeStage = null;#[ORM\Column(type: 'integer', nullable: true)]private ?int $dureeCenter = null;#[ORM\Column(type: 'integer', nullable: true)]private ?int $dureeElearning = null;#[ORM\Column(type: 'boolean', nullable: true)]private ?bool $stageObligatoire = false;#[ORM\Column(type: 'boolean', nullable: true)]private ?bool $formationPermanente = false;#[ORM\Column(type: 'text', nullable: true)]private ?string $sanctionResume = null;#[ORM\Column(type: 'text', nullable: true)]private ?string $sanctionLong = null;#[ORM\Column(type: 'text', nullable: true)]private ?string $metier = null;#[ORM\Column(type: 'text', nullable: true)]private ?string $accessibiliteHandicap = null;#[ORM\Column(type: 'text', nullable: true)]private ?string $modalitesDelaisAcces = null;#[ORM\Column(type: 'text', nullable: true)]private ?string $modaliteevaluationinitial = null;#[ORM\Column(type: 'text', nullable: true)]private ?string $modaliteevaluationfinal = null;#[ORM\Column(type: 'string', length: 255, nullable: true)]private ?string $text = null;#[ORM\Column(type: 'text', nullable: true)]private ?string $objectif = null;#[ORM\Column(type: 'text', nullable: true)]private ?string $debouche = null;#[ORM\Column(type: 'text', nullable: true)]private ?string $conditionAdmission = null;#[ORM\Column(type: 'text', nullable: true)]private ?string $public = null;#[ORM\Column(type: 'text', nullable: true)]private ?string $detailExamen = null;#[ORM\Column(type: 'text', nullable: true)]private ?string $fraisPedagogique = null;#[ORM\Column(type: 'text', nullable: true)]private ?string $seoTitre = null;#[ORM\Column(type: 'string', length: 255, nullable: true)]private ?string $seoDescription = null;#[ORM\Column(type: 'text', nullable: true)]private ?string $rythme = null;#[ORM\Column(type: 'text', nullable: true)]private ?string $identifiantDokelio = null;#[ORM\Column(type: 'text', nullable: true)]private ?string $dokelioParcours = null;#[ORM\Column(type: 'text', nullable: true)]private ?string $contenuApres = null;#[ORM\Column(type: 'text', nullable: true)]private ?string $contenuAvant = null;#[ORM\Column(type: 'string', length: 255, nullable: true)]private ?string $path = null;#[ORM\Column(type: 'text', nullable: true)]private ?string $items = null;#[ORM\ManyToMany(targetEntity: Theme::class, inversedBy: 'parcours')]private Collection $themes;#[ORM\JoinColumn(nullable: true)]#[ORM\ManyToOne(targetEntity: Theme::class, inversedBy: 'defaultParcours')]private ?Theme $theme = null;#[ORM\JoinColumn(nullable: true)]#[ORM\ManyToOne(targetEntity: Parcours::class, cascade: ['persist'], inversedBy: 'enfants')]private ?Parcours $parent = null;#[ORM\OneToMany(mappedBy: 'parent', targetEntity: Parcours::class, cascade: ['persist'])]private Collection $enfants;#[ORM\ManyToOne(targetEntity: Masterlistelg::class)]private ?Masterlistelg $autoriteDelivranceCpf = null;#[ORM\JoinColumn(nullable: true)]#[ORM\ManyToOne(targetEntity: Masterlistelg::class)]private ?Masterlistelg $nsf = null;#[ORM\JoinColumn(nullable: true)]#[ORM\ManyToOne(targetEntity: Masterlistelg::class)]private ?Masterlistelg $diplomesTitresParcours = null;#[ORM\JoinTable(name: 'parcoursformacodes')]#[ORM\ManyToMany(targetEntity: Masterlistelg::class)]private Collection $formaCodes;#[ORM\JoinColumn(nullable: true)]#[ORM\ManyToOne(targetEntity: Filiere::class, inversedBy: 'parcours')]private ?Filiere $filiere = null;#[ORM\JoinColumn(nullable: true)]#[ORM\ManyToOne(targetEntity: Niveau::class, inversedBy: 'parcoursAsNiveauEntree')]private ?Niveau $niveauEntree = null;#[ORM\JoinColumn(nullable: true)]#[ORM\ManyToOne(targetEntity: Niveau::class, inversedBy: 'parcoursAsNiveauSortie')]private ?Niveau $niveauSortie = null;#[ORM\ManyToOne(targetEntity: Masterlistelg::class)]private ?Masterlistelg $niveauTechnique = null;#[ORM\ManyToOne(targetEntity: Masterlistelg::class)]private ?Masterlistelg $qualifiant = null;#[ORM\JoinColumn(nullable: true)]#[ORM\ManyToOne(targetEntity: Masterlistelg::class)]private ?Masterlistelg $typeFormation = null;#[ORM\ManyToOne(targetEntity: Masterlistelg::class)]private ?Masterlistelg $autoriteDelivrance = null;#[ORM\JoinTable(name: 'parcours_avant')]#[ORM\ManyToMany(targetEntity: Parcours::class)]private Collection $parcoursAvant;#[ORM\JoinTable(name: 'parcours_apres')]#[ORM\ManyToMany(targetEntity: Parcours::class)]private Collection $parcoursApres;#[ORM\JoinTable(name: 'parcours_coderome')]#[ORM\ManyToMany(targetEntity: Masterlistelg::class)]private Collection $codesromes;#[ORM\JoinTable(name: 'parcours_mode_formation')]#[ORM\ManyToMany(targetEntity: Masterlistelg::class)]private Collection $modesFormation;#[ORM\JoinColumn(nullable: true)]#[ORM\ManyToOne(targetEntity: Masterlistelg::class, inversedBy: 'parcours')]private ?Masterlistelg $modeFormation = null;#[ORM\JoinColumn(nullable: true)]#[ORM\ManyToOne(targetEntity: Formateur::class, inversedBy: 'parcoursRNCP')]private ?Formateur $formateur = null;#[ORM\JoinColumn(nullable: true)]#[ORM\OneToOne(targetEntity: Upload::class, cascade: ['persist', 'remove'])]private ?Upload $banniere = null;#[ORM\JoinColumn(nullable: true)]#[ORM\OneToOne(targetEntity: Upload::class, cascade: ['persist', 'remove'])]private ?Upload $vignette = null;#[ORM\OneToMany(mappedBy: 'parcours', targetEntity: Session::class)]private Collection $sessions;#[ORM\OneToMany(mappedBy: 'parcours', targetEntity: Bloc::class, cascade: ['persist', 'remove'])]private Collection $blocs;#[ORM\OneToMany(mappedBy: 'parcours', targetEntity: ModaliteEvaluation::class, cascade: ['persist', 'remove'])]private Collection $modaliteEvaluations;#[ORM\Column(type: 'boolean')]private bool $isDefault = false;#[ORM\OneToMany(mappedBy: 'parcours', targetEntity: TarifVenteParcours::class, cascade: ['persist', 'remove'], orphanRemoval: true)]private Collection $tarifVentes;#[ORM\OneToMany(mappedBy: 'parcours', targetEntity: Document::class, cascade: ['persist'])]private Collection $documents;private ?ApiGestiform $apiGestiform = null;public function __construct(){$this->themes = new ArrayCollection();$this->enfants = new ArrayCollection();$this->formaCodes = new ArrayCollection();$this->parcoursAvant = new ArrayCollection();$this->parcoursApres = new ArrayCollection();$this->codesromes = new ArrayCollection();$this->sessions = new ArrayCollection();$this->blocs = new ArrayCollection();$this->modaliteEvaluations = new ArrayCollection();$this->tarifVentes = new ArrayCollection();$this->documents = new ArrayCollection();$this->modesFormation = new ArrayCollection();}public function getIntitule(): ?string{return $this->intitule;}public function setIntitule(string $intitule): self{$this->intitule = $intitule;return $this;}public function getAccessibiliteHandicap(): ?string{return $this->accessibiliteHandicap;}public function setAccessibiliteHandicap(?string $accessibiliteHandicap): self{$this->accessibiliteHandicap = $accessibiliteHandicap;return $this;}public function getModalitesDelaisAcces(): ?string{return $this->modalitesDelaisAcces;}public function setModalitesDelaisAcces(?string $modalitesDelaisAcces): self{$this->modalitesDelaisAcces = $modalitesDelaisAcces;return $this;}public function getModaliteevaluationinitial(): ?string{return $this->modaliteevaluationinitial;}public function setModaliteevaluationinitial(?string $modaliteevaluationinitial): self{$this->modaliteevaluationinitial = $modaliteevaluationinitial;return $this;}public function getModaliteevaluationfinal(): ?string{return $this->modaliteevaluationfinal;}public function setModaliteevaluationfinal(?string $modaliteevaluationfinal): self{$this->modaliteevaluationfinal = $modaliteevaluationfinal;return $this;}public function getIntituleOfficiel(): ?string{return $this->intituleOfficiel;}public function setIntituleOfficiel(?string $intituleOfficiel): self{$this->intituleOfficiel = $intituleOfficiel;return $this;}public function getCode(): ?string{return $this->code;}public function setCode(?string $code): self{$this->code = $code;return $this;}public function getSigle(): ?string{return $this->sigle;}public function setSigle(?string $sigle): self{$this->sigle = $sigle;return $this;}public function getDateDebutValide(): ?DateTime{return $this->dateDebutValide;}public function setDateDebutValide(?DateTime $dateDebutValide): self{$this->dateDebutValide = $dateDebutValide;return $this;}public function getDateFinValide(): ?DateTime{return $this->dateFinValide;}public function setDateFinValide(?DateTime $dateFinValide): self{$this->dateFinValide = $dateFinValide;return $this;}public function getDatePublicationOfficiel(): ?DateTime{return $this->datePublicationOfficiel;}public function setDatePublicationOfficiel(?DateTime $datePublicationOfficiel): self{$this->datePublicationOfficiel = $datePublicationOfficiel;return $this;}public function getPlus(): ?string{return $this->plus;}public function setPlus(?string $plus): self{$this->plus = $plus;return $this;}public function getRedirection(): ?string{return $this->redirection;}public function setRedirection(?string $redirection): self{$this->redirection = $redirection;return $this;}public function isPublication(): ?bool{return $this->publication;}public function setPublication(?bool $publication): self{$this->publication = $publication;return $this;}public function isPublicationApi(): ?bool{return $this->publicationApi;}public function setPublicationApi(?bool $publicationApi): self{$this->publicationApi = $publicationApi;return $this;}public function getTauxObtention(): ?string{return $this->tauxObtention;}public function setTauxObtention(?string $tauxObtention): self{$this->tauxObtention = $tauxObtention;return $this;}public function getTauxAbandon(): ?string{return $this->tauxAbandon;}public function setTauxAbandon(?string $tauxAbandon): self{$this->tauxAbandon = $tauxAbandon;return $this;}public function getTauxSatisfaction(): ?string{return $this->tauxSatisfaction;}public function setTauxSatisfaction(?string $tauxSatisfaction): self{$this->tauxSatisfaction = $tauxSatisfaction;return $this;}public function getTauxPourSuiteEtude(): ?string{return $this->tauxPourSuiteEtude;}public function setTauxPourSuiteEtude(?string $tauxPourSuiteEtude): self{$this->tauxPourSuiteEtude = $tauxPourSuiteEtude;return $this;}public function getTauxEmployabilite(): ?string{return $this->tauxEmployabilite;}public function setTauxEmployabilite(?string $tauxEmployabilite): self{$this->tauxEmployabilite = $tauxEmployabilite;return $this;}public function getSalaireMoyen(): ?string{return $this->salaireMoyen;}public function setSalaireMoyen(?string $salaireMoyen): self{$this->salaireMoyen = $salaireMoyen;return $this;}public function getLivrable(): ?string{return $this->livrable;}public function setLivrable(?string $livrable): self{$this->livrable = $livrable;return $this;}public function getAltBanniere(): ?string{return $this->altBanniere;}public function setAltBanniere(?string $altBanniere): self{$this->altBanniere = $altBanniere;return $this;}public function getAltVignette(): ?string{return $this->altVignette;}public function setAltVignette(?string $altVignette): self{$this->altVignette = $altVignette;return $this;}public function getTarifJury(): ?float{return $this->tarifJury;}public function setTarifJury(?float $tarifJury): self{$this->tarifJury = $tarifJury;return $this;}public function isCpf(): ?bool{return $this->cpf;}public function setCpf(?bool $cpf): self{$this->cpf = $cpf;return $this;}public function getCodeCpf(): ?string{return $this->codeCpf;}public function setCodeCpf(?string $codeCpf): self{$this->codeCpf = $codeCpf;return $this;}public function getCodeRncpRs(): ?string{return $this->codeRncpRs;}public function setCodeRncpRs(?string $codeRncpRs): self{$this->codeRncpRs = $codeRncpRs;return $this;}public function getCodeCpfSalarie(): ?string{return $this->codeCpfSalarie;}public function setCodeCpfSalarie(?string $codeCpfSalarie): self{$this->codeCpfSalarie = $codeCpfSalarie;return $this;}public function getCodeCpfDemandeurEmploi(): ?string{return $this->codeCpfDemandeurEmploi;}public function setCodeCpfDemandeurEmploi(?string $codeCpfDemandeurEmploi): self{$this->codeCpfDemandeurEmploi = $codeCpfDemandeurEmploi;return $this;}public function getCodeNsf(): ?string{return $this->codeNsf;}public function setCodeNsf(?string $codeNsf): self{$this->codeNsf = $codeNsf;return $this;}public function getDuree(): ?int{return $this->duree;}public function setDuree(?int $duree): self{$this->duree = $duree;return $this;}public function getDureeModulaire(): ?int{return $this->dureeModulaire;}public function setDureeModulaire(?int $dureeModulaire): self{$this->dureeModulaire = $dureeModulaire;return $this;}public function getDureeAccompagnement(): ?int{return $this->dureeAccompagnement;}public function setDureeAccompagnement(?int $dureeAccompagnement): self{$this->dureeAccompagnement = $dureeAccompagnement;return $this;}public function getDureeStage(): ?int{return $this->dureeStage;}public function setDureeStage(?int $dureeStage): self{$this->dureeStage = $dureeStage;return $this;}public function getDureeCenter(): ?int{return $this->dureeCenter;}public function setDureeCenter(?int $dureeCenter): self{$this->dureeCenter = $dureeCenter;return $this;}public function getDureeElearning(): ?int{return $this->dureeElearning;}public function setDureeElearning(?int $dureeElearning): self{$this->dureeElearning = $dureeElearning;return $this;}public function isStageObligatoire(): ?bool{return $this->stageObligatoire;}public function setStageObligatoire(?bool $stageObligatoire): self{$this->stageObligatoire = $stageObligatoire;return $this;}public function isFormationPermanente(): ?bool{return $this->formationPermanente;}public function setFormationPermanente(?bool $formationPermanente): self{$this->formationPermanente = $formationPermanente;return $this;}public function getSanctionResume(): ?string{return $this->sanctionResume;}public function setSanctionResume(?string $sanctionResume): self{$this->sanctionResume = $sanctionResume;return $this;}public function getSanctionLong(): ?string{return $this->sanctionLong;}public function setSanctionLong(?string $sanctionLong): self{$this->sanctionLong = $sanctionLong;return $this;}public function getMetier(): ?string{return $this->metier;}public function setMetier(?string $metier): self{$this->metier = $metier;return $this;}public function getText(): ?string{return $this->text;}public function setText(?string $text): self{$this->text = $text;return $this;}public function getObjectif(): ?string{return $this->objectif;}public function setObjectif(?string $objectif): self{$this->objectif = $objectif;return $this;}public function getDebouche(): ?string{return $this->debouche;}public function setDebouche(?string $debouche): self{$this->debouche = $debouche;return $this;}public function getConditionAdmission(): ?string{return $this->conditionAdmission;}public function setConditionAdmission(?string $conditionAdmission): self{$this->conditionAdmission = $conditionAdmission;return $this;}public function getPublic(): ?string{return $this->public;}public function setPublic(?string $public): self{$this->public = $public;return $this;}public function getDetailExamen(): ?string{return $this->detailExamen;}public function setDetailExamen(?string $detailExamen): self{$this->detailExamen = $detailExamen;return $this;}public function getFraisPedagogique(): ?string{return $this->fraisPedagogique;}public function setFraisPedagogique(?string $fraisPedagogique): self{$this->fraisPedagogique = $fraisPedagogique;return $this;}public function getSeoTitre(): ?string{return $this->seoTitre;}public function setSeoTitre(?string $seoTitre): self{$this->seoTitre = $seoTitre;return $this;}public function getSeoDescription(): ?string{return $this->seoDescription;}public function setSeoDescription(?string $seoDescription): self{$this->seoDescription = $seoDescription;return $this;}public function getRythme(): ?string{return $this->rythme;}public function setRythme(?string $rythme): self{$this->rythme = $rythme;return $this;}public function getIdentifiantDokelio(): ?string{return $this->identifiantDokelio;}public function setIdentifiantDokelio(?string $identifiantDokelio): self{$this->identifiantDokelio = $identifiantDokelio;return $this;}public function getDokelioParcours(): ?string{return $this->dokelioParcours;}public function setDokelioParcours(?string $dokelioParcours): self{$this->dokelioParcours = $dokelioParcours;return $this;}public function getContenuApres(): ?string{return $this->contenuApres;}public function setContenuApres(?string $contenuApres): self{$this->contenuApres = $contenuApres;return $this;}public function getContenuAvant(): ?string{return $this->contenuAvant;}public function setContenuAvant(?string $contenuAvant): self{$this->contenuAvant = $contenuAvant;return $this;}public function getPath(): ?string{return $this->path;}public function setPath(?string $path): self{$this->path = $path;return $this;}public function getPrerequis(): ?string{return $this->prerequis;}public function setPrerequis(?string $prerequis): self{$this->prerequis = $prerequis;return $this;}public function getItems(): ?string{return $this->items;}public function setItems(?string $items): self{$this->items = $items;return $this;}/*** @return Collection<int, Theme>*/public function getThemes(): Collection{return $this->themes;}public function addTheme(Theme $theme): self{if (!$this->themes->contains($theme)) {$this->themes->add($theme);}return $this;}public function removeTheme(Theme $theme): self{$this->themes->removeElement($theme);return $this;}/*** @return Collection<int, Parcours>*/public function getEnfants(): Collection{return $this->enfants;}public function setEnfants(Collection $enfants): self{$this->enfants = $enfants;return $this;}public function addEnfant(Parcours $enfant): self{if (!$this->enfants->contains($enfant)) {$this->enfants->add($enfant);$enfant->setParent($this);}return $this;}public function removeEnfant(Parcours $enfant): self{// set the owning side to null (unless already changed)if ($this->enfants->removeElement($enfant) && $enfant->getParent() === $this) {$enfant->setParent(null);}return $this;}public function getParent(): ?self{return $this->parent;}public function setParent(?self $parent): self{$this->parent = $parent;return $this;}public function getAutoriteDelivranceCpf(): ?Masterlistelg{return $this->autoriteDelivranceCpf;}public function setAutoriteDelivranceCpf(?Masterlistelg $autoriteDelivranceCpf): self{$this->autoriteDelivranceCpf = $autoriteDelivranceCpf;return $this;}public function getNsf(): ?Masterlistelg{return $this->nsf;}public function setNsf(?Masterlistelg $nsf): self{$this->nsf = $nsf;return $this;}/*** @return Collection<int, Masterlistelg>*/public function getFormaCodes(): Collection{return $this->formaCodes;}public function addFormaCode(Masterlistelg $formaCode): self{if (!$this->formaCodes->contains($formaCode)) {$this->formaCodes->add($formaCode);}return $this;}public function removeFormaCode(Masterlistelg $formaCode): self{$this->formaCodes->removeElement($formaCode);return $this;}public function getFiliere(): ?Filiere{return $this->filiere;}public function setFiliere(?Filiere $filiere): self{$this->filiere = $filiere;return $this;}public function getNiveauEntree(): ?Niveau{return $this->niveauEntree;}public function setNiveauEntree(?Niveau $niveauEntree): self{$this->niveauEntree = $niveauEntree;return $this;}public function getNiveauSortie(): ?Niveau{return $this->niveauSortie;}public function setNiveauSortie(?Niveau $niveauSortie): self{$this->niveauSortie = $niveauSortie;return $this;}public function getNiveauTechnique(): ?Masterlistelg{return $this->niveauTechnique;}public function setNiveauTechnique(?Masterlistelg $niveauTechnique): self{$this->niveauTechnique = $niveauTechnique;return $this;}public function getQualifiant(): ?Masterlistelg{return $this->qualifiant;}public function setQualifiant(?Masterlistelg $qualifiant): self{$this->qualifiant = $qualifiant;return $this;}public function getTypeFormation(): ?Masterlistelg{return $this->typeFormation;}public function setTypeFormation(?Masterlistelg $typeFormation): self{$this->typeFormation = $typeFormation;return $this;}public function getAutoriteDelivrance(): ?Masterlistelg{return $this->autoriteDelivrance;}public function setAutoriteDelivrance(?Masterlistelg $autoriteDelivrance): self{$this->autoriteDelivrance = $autoriteDelivrance;return $this;}/*** @return Collection<int, Parcours>*/public function getParcoursAvant(): Collection{return $this->parcoursAvant;}public function addParcoursAvant(Parcours $parcoursAvant): self{if (!$this->parcoursAvant->contains($parcoursAvant)) {$this->parcoursAvant->add($parcoursAvant);}return $this;}public function removeParcoursAvant(Parcours $parcoursAvant): self{$this->parcoursAvant->removeElement($parcoursAvant);return $this;}/*** @return Collection<int, Parcours>*/public function getParcoursApres(): Collection{return $this->parcoursApres;}public function addParcoursApre(Parcours $parcoursApre): self{if (!$this->parcoursApres->contains($parcoursApre)) {$this->parcoursApres->add($parcoursApre);}return $this;}public function removeParcoursApre(Parcours $parcoursApre): self{$this->parcoursApres->removeElement($parcoursApre);return $this;}/*** @return Collection<int, Masterlistelg>*/public function getCodesromes(): Collection{return $this->codesromes;}public function addCodesrome(Masterlistelg $codesrome): self{if (!$this->codesromes->contains($codesrome)) {$this->codesromes->add($codesrome);}return $this;}public function removeCodesrome(Masterlistelg $codesrome): self{$this->codesromes->removeElement($codesrome);return $this;}/*** @return Collection<int, Masterlistelg>*/public function getModesFormation(): Collection{return $this->modesFormation;}public function addModeFormation(Masterlistelg $mode): self{if (!$this->modesFormation->contains($mode)) {$this->modesFormation->add($mode);}return $this;}public function removeModeFormation(Masterlistelg $mode): self{$this->modesFormation->removeElement($mode);return $this;}public function getModeFormation(): ?Masterlistelg{return $this->modeFormation;}public function setModeFormation(?Masterlistelg $modeFormation): self{$this->modeFormation = $modeFormation;return $this;}public function getBanniere(): ?Upload{return $this->banniere;}public function setBanniere(?Upload $banniere): self{$this->banniere = $banniere;return $this;}public function getVignette(): ?Upload{return $this->vignette;}public function setVignette(?Upload $vignette): self{$this->vignette = $vignette;return $this;}public function getSessions(): Collection{return $this->sessions;}public function getUpcomingSessions(): Collection{$now = new \DateTime();return $this->sessions->filter(function ($session) use ($now) {return $session->getPlanning()->getStart() >= $now;});}public function addSession(Session $session): self{if (!$this->sessions->contains($session)) {$this->sessions->add($session);$session->setParcours($this);}return $this;}public function removeSession(Session $session): self{// set the owning side to null (unless already changed)if ($this->sessions->removeElement($session) && $session->getParcours() === $this) {$session->setParcours(null);}return $this;}public function getBlocs(): Collection{return $this->blocs;}public function setBlocs(Collection $blocs): self{$this->blocs = $blocs;return $this;}public function addBloc(Bloc $bloc): self{if (!$this->blocs->contains($bloc)) {$this->blocs->add($bloc);$bloc->setParcours($this);}return $this;}public function removeBloc(Bloc $bloc): self{// set the owning side to null (unless already changed)if ($this->blocs->removeElement($bloc) && $bloc->getParcours() === $this) {$bloc->setParcours(null);}return $this;}public function getIsDefault(): ?bool{return $this->isDefault;}public function setIsDefault(?bool $isDefault): self{$this->isDefault = $isDefault;return $this;}public function isIsDefault(): ?bool{return $this->isDefault;}public function getRncp(): ?bool{return $this->rncp;}public function setRncp(?bool $rncp): self{$this->rncp = $rncp;return $this;}/*** @return Collection<int, TarifVenteParcours>*/public function getTarifVentes(): Collection{return $this->tarifVentes;}public function addTarifVente(TarifVenteParcours $tarifVente): self{if (!$this->tarifVentes->contains($tarifVente)) {$this->tarifVentes->add($tarifVente);$tarifVente->setParcours($this);}return $this;}public function removeTarifVente(TarifVenteParcours $tarifVente): self{// set the owning side to null (unless already changed)if ($this->tarifVentes->removeElement($tarifVente) && $tarifVente->getParcours() === $this) {$tarifVente->setParcours(null);}return $this;}public function getTarifJury2(): ?float{return $this->tarifJury2;}public function setTarifJury2(?float $tarifJury2): self{$this->tarifJury2 = $tarifJury2;return $this;}public function getFormateur(): ?Formateur{return $this->formateur;}public function setFormateur(?Formateur $formateur): self{$this->formateur = $formateur;return $this;}public function getDiplomesTitresParcours(): ?Masterlistelg{return $this->diplomesTitresParcours;}public function setDiplomesTitresParcours(?Masterlistelg $diplomesTitresParcours): self{$this->diplomesTitresParcours = $diplomesTitresParcours;return $this;}public function getCodeDiplome(): ?string{return $this->codeDiplome;}public function setCodeDiplome(?string $codeDiplome): self{$this->codeDiplome = $codeDiplome;return $this;}public function getTheme(): ?Theme{return $this->theme;}public function setTheme(?Theme $theme): self{$this->theme = $theme;return $this;}/*** @return Collection<int, Document>*/public function getDocuments(): Collection{return $this->documents;}public function addDocument(Document $document): self{if (!$this->documents->contains($document)) {$this->documents->add($document);$document->setParcours($this);}return $this;}public function removeDocument(Document $document): self{// set the owning side to null (unless already changed)if ($this->documents->removeElement($document) && $document->getParcours() === $this) {$document->setParcours(null);}return $this;}/*** @return Collection|ModaliteEvaluation[]*/public function getModaliteEvaluations(): Collection{return $this->modaliteEvaluations;}public function setModaliteEvaluations(Collection $modaliteEvaluations): self{$this->modaliteEvaluations = $modaliteEvaluations;return $this;}public function addModaliteEvaluation(ModaliteEvaluation $modaliteEvaluation): self{if (!$this->modaliteEvaluations->contains($modaliteEvaluation)) {$this->modaliteEvaluations->add($modaliteEvaluation);$modaliteEvaluation->setParcours($this);}return $this;}public function removeModaliteEvaluation(ModaliteEvaluation $modaliteEvaluation): self{if ($this->modaliteEvaluations->removeElement($modaliteEvaluation) && $modaliteEvaluation->getParcours() === $this) {$modaliteEvaluation->setParcours(null);}return $this;}}