3 namespace Rapsys\AirBundle\Entity
;
40 * @var \Rapsys\AirBundle\Entity\Application
45 * @var \Rapsys\AirBundle\Entity\Location
50 * @var \Rapsys\AirBundle\Entity\Slot
55 * @var \Doctrine\Common\Collections\Collection
57 private $applications;
62 public function __construct() {
63 $this->applications
= new \Doctrine\Common\Collections\
ArrayCollection();
71 public function getId() {
78 * @param \DateTime $date
82 public function setDate($date) {
93 public function getDate() {
100 * @param \DateTime $begin
104 public function setBegin($begin) {
105 $this->begin
= $begin;
115 public function getBegin() {
122 * @param \DateTime $length
126 public function setLength($length) {
127 $this->length
= $length;
137 public function getLength() {
138 return $this->length
;
144 * @param \DateTime $created
148 public function setCreated($created) {
149 $this->created
= $created;
159 public function getCreated() {
160 return $this->created
;
166 * @param \DateTime $updated
170 public function setUpdated($updated) {
171 $this->updated
= $updated;
181 public function getUpdated() {
182 return $this->updated
;
188 * @param \Rapsys\AirBundle\Entity\Application $application
192 public function addApplication(\Rapsys\AirBundle\Entity\Application
$application) {
193 $this->applications
[] = $application;
201 * @param \Rapsys\AirBundle\Entity\Application $application
203 public function removeApplication(\Rapsys\AirBundle\Entity\Application
$application) {
204 $this->applications
->removeElement($application);
210 * @return \Doctrine\Common\Collections\Collection
212 public function getApplications() {
213 return $this->applications
;
219 * @param \Rapsys\AirBundle\Entity\Location $location
223 public function setLocation(\Rapsys\AirBundle\Entity\Location
$location = null) {
224 $this->location
= $location;
232 * @return \Rapsys\AirBundle\Entity\Location
234 public function getLocation() {
235 return $this->location
;
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
;