registrations = new \Doctrine\Common\Collections\ArrayCollection(); $this->users = new \Doctrine\Common\Collections\ArrayCollection(); } /** * Get id * * @return integer */ public function getId() { return $this->id; } /** * Set label * * @param string $label * * @return Niveau02 */ public function setLabel($label) { $this->label = $label; return $this; } /** * Get label * * @return string */ public function getLabel() { return $this->label; } /** * Set siret * * @param string $siret * * @return Niveau02 */ public function setSiret($siret) { $this->siret = $siret; return $this; } /** * Get siret * * @return string */ public function getSiret() { return $this->siret; } /** * Set postaladress * * @param string $postaladress * * @return Niveau02 */ public function setPostaladress($postaladress) { $this->postaladress = $postaladress; return $this; } /** * Get postaladress * * @return string */ public function getPostaladress() { return $this->postaladress; } /** * Set niveau01 * * @param \Cadoles\CoreBundle\Entity\Niveau01 $niveau01 * * @return Niveau02 */ public function setNiveau01(\Cadoles\CoreBundle\Entity\Niveau01 $niveau01) { $this->niveau01 = $niveau01; return $this; } /** * Get niveau01 * * @return \Cadoles\CoreBundle\Entity\Niveau01 */ public function getNiveau01() { return $this->niveau01; } /** * Add registration * * @param \Cadoles\CoreBundle\Entity\Registration $registration * * @return Niveau02 */ public function addRegistration(\Cadoles\CoreBundle\Entity\Registration $registration) { $this->registrations[] = $registration; return $this; } /** * Remove registration * * @param \Cadoles\CoreBundle\Entity\Registration $registration */ public function removeRegistration(\Cadoles\CoreBundle\Entity\Registration $registration) { $this->registrations->removeElement($registration); } /** * Get registrations * * @return \Doctrine\Common\Collections\Collection */ public function getRegistrations() { return $this->registrations; } /** * Add user * * @param \Cadoles\CoreBundle\Entity\User $user * * @return Niveau02 */ public function addUser(\Cadoles\CoreBundle\Entity\User $user) { $this->users[] = $user; return $this; } /** * Remove user * * @param \Cadoles\CoreBundle\Entity\User $user */ public function removeUser(\Cadoles\CoreBundle\Entity\User $user) { $this->users->removeElement($user); } /** * Get users * * @return \Doctrine\Common\Collections\Collection */ public function getUsers() { return $this->users; } }