32 private $acknowledgement;
45 public function __construct(
LicenseRef $licenseRef, $removed, $type, $reportInfo =
"", $comment =
"", $acknowledgement =
"")
47 $this->licenseRef = $licenseRef;
48 $this->removed = $removed;
50 $this->reportInfo = $reportInfo;
51 $this->acknowledgement = $acknowledgement;
52 $this->comment = $comment;
61 $this->type, $this->reportInfo, $this->comment, $this->acknowledgement);
69 return $this->licenseRef;
101 return $this->removed;
117 return $this->comment;
125 return $this->reportInfo;
133 return $this->acknowledgement;
136 public function __toString()
139 return "ClearingLicense(" 140 .($this->isRemoved() ?
"-" :
"")
142 .
",type='".($eventTypes->getTypeName($this->type)).
"'(".$this->type.
")" 143 .
",comment='".$this->comment.
"'" 144 .
",reportinfo='".$this->reportInfo.
"'" 145 .
",acknowledgement='".$this->acknowledgement.
"'"
__construct(LicenseRef $licenseRef, $removed, $type, $reportInfo="", $comment="", $acknowledgement="")