27 protected $customText = NULL;
29 protected $comment =
"";
31 private $licenseCandidate = NULL;
33 function __construct($licenseId)
35 $this->licenseId = $licenseId;
38 public function setCustomText($customText)
40 $this->customText = $customText;
52 $spdxCompatible = $spdxCompatible ==
true;
53 $this->licenseCandidate =
new License(
70 return $this->licenseId;
78 return $this->customText !== NULL;
86 return $this->customText;
94 return $this->comment;
102 return $this->licenseCandidate !== NULL;
110 return $this->licenseCandidate;
setLicenseCandidate($name, $text, $spdxCompatible)