3 namespace Rapsys\AirBundle\Entity
;
40 * @var \Doctrine\Common\Collections\Collection
42 private $applications;
45 * @var \Rapsys\AirBundle\Entity\Location
50 * @var \Rapsys\AirBundle\Entity\Application
57 public function __construct() {
58 $this->applications
= new \Doctrine\Common\Collections\
ArrayCollection();
66 public function getId() {
73 * @param \DateTime $date
77 public function setDate($date) {
88 public function getDate() {
95 * @param \DateTime $begin
99 public function setBegin($begin) {
100 $this->begin
= $begin;
110 public function getBegin() {
117 * @param \DateTime $end
121 public function setEnd($end) {
132 public function getEnd() {
139 * @param \DateTime $created
143 public function setCreated($created) {
144 $this->created
= $created;
154 public function getCreated() {
155 return $this->created
;
161 * @param \DateTime $updated
165 public function setUpdated($updated) {
166 $this->updated
= $updated;
176 public function getUpdated() {
177 return $this->updated
;
183 * @param \Rapsys\AirBundle\Entity\Application $application
187 public function addApplication(\Rapsys\AirBundle\Entity\Application
$application) {
188 $this->applications
[] = $application;
196 * @param \Rapsys\AirBundle\Entity\Application $application
198 public function removeApplication(\Rapsys\AirBundle\Entity\Application
$application) {
199 $this->applications
->removeElement($application);
205 * @return \Doctrine\Common\Collections\Collection
207 public function getApplications() {
208 return $this->applications
;
214 * @param \Rapsys\AirBundle\Entity\Location $location
218 public function setLocation(\Rapsys\AirBundle\Entity\Location
$location = null) {
219 $this->location
= $location;
227 * @return \Rapsys\AirBundle\Entity\Location
229 public function getLocation() {
230 return $this->location
;
233 * @var \Rapsys\AirBundle\Entity\Slot
241 * @param \Rapsys\AirBundle\Entity\Slot $slot
245 public function setSlot(\Rapsys\AirBundle\Entity\Slot
$slot = null) {
254 * @return \Rapsys\AirBundle\Entity\Slot
256 public function getSlot() {
263 * @param \Rapsys\AirBundle\Entity\Application $application
267 public function setApplication(\Rapsys\AirBundle\Entity\Application
$application = null) {
268 $this->application
= $application;
276 * @return \Rapsys\AirBundle\Entity\Application
278 public function getApplication() {
279 return $this->application
;