7 namespace Fossology\ReportImport;
16 protected $customText = NULL;
18 protected $comment =
"";
20 private $licenseCandidate = NULL;
22 function __construct($licenseId)
24 $this->licenseId = $licenseId;
27 public function setCustomText($customText)
29 $this->customText = $customText;
41 $spdxCompatible = $spdxCompatible ==
true;
42 $this->licenseCandidate =
new License(
59 return $this->licenseId;
67 return $this->customText !== NULL;
75 return $this->customText;
83 return $this->comment;
91 return $this->licenseCandidate !== NULL;
99 return $this->licenseCandidate;
setLicenseCandidate($name, $text, $spdxCompatible)