val = $this->setEnumVal($val, $stopTypes, $this->val); $this->position = $this->setNumericVal($position, $this->position); $this->leader = $this->setEnumVal($leader, $leaderTypes, $this->leader); } /** * Get stop type * * @return string */ public function getStopType() { return $this->val; } /** * Get leader * * @return string */ public function getLeader() { return $this->leader; } /** * Get position * * @return integer */ public function getPosition() { return $this->position; } }