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