public function getNumber() { return (int) (($this->generation << 9) + ($this->major << 5) + $this->minor); }