. */ namespace Doctrine\ORM\Query\AST; /** * SimpleSelectExpression ::= StateFieldPathExpression | IdentificationVariable * | (AggregateExpression [["AS"] FieldAliasIdentificationVariable]) * * @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 SimpleSelectExpression extends Node { private $_expression; private $_fieldIdentificationVariable; public function __construct($expression) { $this->_expression = $expression; } public function getExpression() { return $this->_expression; } public function getFieldIdentificationVariable() { return $this->_fieldIdentificationVariable; } public function setFieldIdentificationVariable($fieldAlias) { $this->_fieldIdentificationVariable = $fieldAlias; } }