3 namespace Rapsys\AirBundle\Entity
;
35 * @var \Doctrine\Common\Collections\Collection
40 * @var \Rapsys\AirBundle\Entity\Session
45 * @var \Rapsys\AirBundle\Entity\User
52 public function __construct() {
53 $this->votes
= new \Doctrine\Common\Collections\
ArrayCollection();
61 public function getId() {
72 public function setScore($score) {
73 $this->score
= $score;
83 public function getScore() {
90 * @param \DateTime $canceled
94 public function setCanceled($canceled) {
95 $this->canceled
= $canceled;
105 public function getCanceled() {
106 return $this->canceled
;
112 * @param \DateTime $created
114 * @return Application
116 public function setCreated($created) {
117 $this->created
= $created;
127 public function getCreated() {
128 return $this->created
;
134 * @param \DateTime $updated
136 * @return Application
138 public function setUpdated($updated) {
139 $this->updated
= $updated;
149 public function getUpdated() {
150 return $this->updated
;
156 * @param \Rapsys\AirBundle\Entity\Vote $vote
158 * @return Application
160 public function addVote(\Rapsys\AirBundle\Entity\Vote
$vote) {
161 $this->votes
[] = $vote;
169 * @param \Rapsys\AirBundle\Entity\Vote $vote
171 public function removeVote(\Rapsys\AirBundle\Entity\Vote
$vote) {
172 $this->votes
->removeElement($vote);
178 * @return \Doctrine\Common\Collections\Collection
180 public function getVotes() {
187 * @param \Rapsys\AirBundle\Entity\Session $session
189 * @return Application
191 public function setSession(\Rapsys\AirBundle\Entity\Session
$session = null) {
192 $this->session
= $session;
200 * @return \Rapsys\AirBundle\Entity\Session
202 public function getSession() {
203 return $this->session
;
209 * @param \Rapsys\AirBundle\Entity\User $user
211 * @return Application
213 public function setUser(\Rapsys\AirBundle\Entity\User
$user = null) {
222 * @return \Rapsys\AirBundle\Entity\User
224 public function getUser() {