3 namespace Rapsys\AirBundle\Entity
; 
  26      * @var \Doctrine\Common\Collections\Collection 
  31      * @var \Rapsys\AirBundle\Entity\Session 
  36      * @var \Rapsys\AirBundle\Entity\User 
  43     public function __construct() 
  45         $this->votes 
= new \Doctrine\Common\Collections\
ArrayCollection(); 
  53     public function getId() 
  61      * @param \DateTime $created 
  65     public function setCreated($created) 
  67         $this->created 
= $created; 
  77     public function getCreated() 
  79         return $this->created
; 
  85      * @param \DateTime $updated 
  89     public function setUpdated($updated) 
  91         $this->updated 
= $updated; 
 101     public function getUpdated() 
 103         return $this->updated
; 
 109      * @param \Rapsys\AirBundle\Entity\Vote $vote 
 111      * @return Application 
 113     public function addVote(\Rapsys\AirBundle\Entity\Vote 
$vote) 
 115         $this->votes
[] = $vote; 
 123      * @param \Rapsys\AirBundle\Entity\Vote $vote 
 125     public function removeVote(\Rapsys\AirBundle\Entity\Vote 
$vote) 
 127         $this->votes
->removeElement($vote); 
 133      * @return \Doctrine\Common\Collections\Collection 
 135     public function getVotes() 
 143      * @param \Rapsys\AirBundle\Entity\Session $session 
 145      * @return Application 
 147     public function setSession(\Rapsys\AirBundle\Entity\Session 
$session = null) 
 149         $this->session 
= $session; 
 157      * @return \Rapsys\AirBundle\Entity\Session 
 159     public function getSession() 
 161         return $this->session
; 
 167      * @param \Rapsys\AirBundle\Entity\User $user 
 169      * @return Application 
 171     public function setUser(\Rapsys\AirBundle\Entity\User 
$user = null) 
 181      * @return \Rapsys\AirBundle\Entity\User 
 183     public function getUser()