id; } /** * @return integer */ public function getUsrId() { return $this->usrId; } /** * @param integer $usrId * * @return UserSetting */ public function setUsrId($usrId) { $this->usrId = $usrId; return $this; } /** * @param \Alchemy\Phrasea\Application $app * * @return string */ public function getUser(Application $app) { return \User_Adapter::getInstance($this->usrId, $app); } /** * @param \User_Adapter $user * * @return UserSetting */ public function setUser(\User_Adapter $user) { $this->setUsrId($user->get_id()); return $this; } /** * @return string */ public function getName() { return $this->name; } /** * @param string $name * * @return UserSetting */ public function setName($name) { $this->name = $name; return $this; } /** * @return string */ public function getValue() { return $this->value; } /** * @param string $value * * @return UserSetting */ public function setValue($value) { $this->value = $value; return $this; } /** * @return \DateTime */ public function getCreated() { return $this->created; } /** * @param \DateTime $created * * @return UserSetting */ public function setCreated(\DateTime $created) { $this->created = $created; return $this; } /** * @return \DateTime */ public function getUpdated() { return $this->updated; } /** * @param \DateTime $updated * * @return UserSetting */ public function setUpdated(\DateTime $updated) { $this->updated = $updated; return $this; } }