public function setAlteredQuery($alteredQuery = null)
{
// validation for constraint: string
if (!is_null($alteredQuery) && !is_string($alteredQuery)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($alteredQuery)), __LINE__);
}
$this->AlteredQuery = $alteredQuery;
return $this;
}