8 namespace Fossology\Lib\Data\Clearing;
21 private $acknowledgement;
35 public function __construct(
LicenseRef $licenseRef, $removed, $type, $reportInfo =
"", $comment =
"", $acknowledgement =
"")
37 $this->licenseRef = $licenseRef;
38 $this->removed = $removed;
40 $this->reportInfo = $reportInfo;
41 $this->acknowledgement = $acknowledgement;
42 $this->comment = $comment;
51 $this->type, $this->reportInfo, $this->comment, $this->acknowledgement);
59 return $this->licenseRef;
99 return $this->removed;
115 return $this->comment;
123 return $this->reportInfo;
131 return $this->acknowledgement;
134 public function __toString()
137 return "ClearingLicense("
138 .($this->isRemoved() ?
"-" :
"")
140 .
",type='".($eventTypes->getTypeName($this->type)).
"'(".$this->type.
")"
141 .
",comment='".$this->comment.
"'"
142 .
",reportinfo='".$this->reportInfo.
"'"
143 .
",acknowledgement='".$this->acknowledgement.
"'"
__construct(LicenseRef $licenseRef, $removed, $type, $reportInfo="", $comment="", $acknowledgement="")