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