. */ namespace Doctrine\ORM\Query\AST; /** * SimpleSelectClause ::= "SELECT" [DISTINCT"] SimpleSelectExpression * * @author Guilherme Blanco * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @link http://www.doctrine-project.org * @since 2.0 * @version $Revision$ */ class SimpleSelectClause extends Node { private $_isDistinct = false; private $_simpleSelectExpression; public function __construct($simpleSelectExpression) { $this->_simpleSelectExpression = $simpleSelectExpression; } /* Getters */ public function isDistinct() { return $this->_isDistinct; } public function setDistinct($bool) { $this->_isDistinct = $bool; } public function getSimpleSelectExpression() { return $this->_simpleSelectExpression; } }