_subselect) throw new Doctrine_Exception; $this->_simpleArithmeticExpression = $simpleArithmeticExpr; } public function setSubselect($subselect) { if ($this->_simpleArithmeticExpression) throw new Doctrine_Exception; $this->_subselect = $subselect; } public function getSimpleArithmeticExpression() { return $this->_simpleArithmeticExpression; } public function getSubselect() { return $this->_subselect; } public function isSimpleArithmeticExpression() { return (bool)$this->_simpleArithmeticExpression; } public function isSubselect() { return (bool)$this->_subselect; } }