public function __toString() { $eventTypes = new ClearingEventTypes(); return "ClearingLicense(" . ($this->isRemoved() ? "-" : "") . $this->getLicenseRef() . ",type='" . $eventTypes->getTypeName($this->type) . "'(" . $this->type . ")" . ",comment='" . $this->comment . "'" . ",reportinfo='" . $this->reportInfo . "'" . ")"; }