public function setType($v599dcce2998a6b40b1e38e8c6006cb0a) { if (in_array($v599dcce2998a6b40b1e38e8c6006cb0a, umiMessages::getAllowedTypes()) == false) { throw new coreException("Unkown message type \"{$v599dcce2998a6b40b1e38e8c6006cb0a}\""); } $this->type = (string) $v599dcce2998a6b40b1e38e8c6006cb0a; $this->setIsUpdated(); }