_id = (int) $id; return $this; } public function getId() { return $this->_id; } public function setGeom(gisconverter\Geometry $geom) { $this->_geom = $geom; return $this; } public function getGeom() { return $this->_geom; } public function setOwner(Syj_Model_User $owner) { $this->_owner = $owner; return $this; } public function getOwner() { return $this->_owner; } public function setTitle($title) { $this->_title = (string) $title; return $this; } public function getTitle() { return $this->_title; } public function getDisplayTitle() { if ($this->_title) { return $this->_title; } else if ($this->_id) { return "journey number " . (string)$this->_id; } else { return ""; } } public function setUrlComp($_urlcomp) { $this->_urlcomp = (string) $_urlcomp; return $this; } public function getUrlComp() { return $this->_urlcomp; } }