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