id; } /** * @param mixed $pending * * @return Registration */ public function setPending($pending) { $this->pending = (Boolean) $pending; return $this; } /** * @return mixed */ public function isPending() { return $this->pending; } /** * @param mixed $rejected * * @return Registration */ public function setRejected($rejected) { $this->rejected = (Boolean) $rejected; return $this; } /** * @return mixed */ public function isRejected() { return $this->rejected; } /** * @param User $user * @return Registration */ public function setUser(User $user) { $this->user = $user; return $this; } /** * @return User */ public function getUser() { return $this->user; } /** * @param Application $app * * @return \collection */ public function getCollection(Application $app) { return \collection::getByBaseId($app, $this->baseId); } /** * @param \collection $collection * * @return $this */ public function setCollection(\collection $collection) { $this->baseId = $collection->get_base_id(); return $this; } /** * @param mixed $baseId * * @return Registration */ public function setBaseId($baseId) { $this->baseId = $baseId; return $this; } /** * @return mixed */ public function getBaseId() { return $this->baseId; } /** * @return \DateTime */ public function getCreated() { return $this->created; } /** * @return \DateTime */ public function getUpdated() { return $this->updated; } /** * @param \Datetime $created */ public function setCreated(\Datetime $created) { $this->created = $created; } /** * @param \Datetime $updated */ public function setUpdated(\Datetime $updated) { $this->updated = $updated; } }