Model to hold a single license compatibility rule.
More...
Model to hold a single license compatibility rule.
Definition at line 17 of file LicenseCompatibilityRule.php.
◆ __construct()
| Fossology\UI\Api\Models\LicenseCompatibilityRule::__construct |
( |
|
$id, |
|
|
|
$firstLicenseId, |
|
|
|
$firstLicenseName, |
|
|
|
$secondLicenseId, |
|
|
|
$secondLicenseName, |
|
|
|
$firstType, |
|
|
|
$secondType, |
|
|
|
$comment, |
|
|
|
$compatibility |
|
) |
| |
- Parameters
-
| int | $id | |
| int | null | $firstLicenseId | |
| string | null | $firstLicenseName | |
| int | null | $secondLicenseId | |
| string | null | $secondLicenseName | |
| string | null | $firstType | |
| string | null | $secondType | |
| string | $comment | |
| boolean | $compatibility | |
Definition at line 76 of file LicenseCompatibilityRule.php.
◆ fromArray()
| static Fossology\UI\Api\Models\LicenseCompatibilityRule::fromArray |
( |
|
$row | ) |
|
|
static |
◆ getArray()
| Fossology\UI\Api\Models\LicenseCompatibilityRule::getArray |
( |
|
$version = ApiVersion::V1 | ) |
|
◆ getComment()
| Fossology\UI\Api\Models\LicenseCompatibilityRule::getComment |
( |
| ) |
|
◆ getCompatibility()
| Fossology\UI\Api\Models\LicenseCompatibilityRule::getCompatibility |
( |
| ) |
|
◆ getFirstLicenseId()
| Fossology\UI\Api\Models\LicenseCompatibilityRule::getFirstLicenseId |
( |
| ) |
|
◆ getFirstLicenseName()
| Fossology\UI\Api\Models\LicenseCompatibilityRule::getFirstLicenseName |
( |
| ) |
|
◆ getFirstType()
| Fossology\UI\Api\Models\LicenseCompatibilityRule::getFirstType |
( |
| ) |
|
◆ getId()
| Fossology\UI\Api\Models\LicenseCompatibilityRule::getId |
( |
| ) |
|
◆ getJSON()
| Fossology\UI\Api\Models\LicenseCompatibilityRule::getJSON |
( |
|
$version = ApiVersion::V1 | ) |
|
◆ getSecondLicenseId()
| Fossology\UI\Api\Models\LicenseCompatibilityRule::getSecondLicenseId |
( |
| ) |
|
◆ getSecondLicenseName()
| Fossology\UI\Api\Models\LicenseCompatibilityRule::getSecondLicenseName |
( |
| ) |
|
◆ getSecondType()
| Fossology\UI\Api\Models\LicenseCompatibilityRule::getSecondType |
( |
| ) |
|
◆ setComment()
| Fossology\UI\Api\Models\LicenseCompatibilityRule::setComment |
( |
|
$comment | ) |
|
◆ setCompatibility()
| Fossology\UI\Api\Models\LicenseCompatibilityRule::setCompatibility |
( |
|
$compatibility | ) |
|
◆ setFirstLicenseId()
| Fossology\UI\Api\Models\LicenseCompatibilityRule::setFirstLicenseId |
( |
|
$firstLicenseId | ) |
|
◆ setFirstLicenseName()
| Fossology\UI\Api\Models\LicenseCompatibilityRule::setFirstLicenseName |
( |
|
$firstLicenseName | ) |
|
◆ setFirstType()
| Fossology\UI\Api\Models\LicenseCompatibilityRule::setFirstType |
( |
|
$firstType | ) |
|
◆ setId()
| Fossology\UI\Api\Models\LicenseCompatibilityRule::setId |
( |
|
$id | ) |
|
◆ setSecondLicenseId()
| Fossology\UI\Api\Models\LicenseCompatibilityRule::setSecondLicenseId |
( |
|
$secondLicenseId | ) |
|
◆ setSecondLicenseName()
| Fossology\UI\Api\Models\LicenseCompatibilityRule::setSecondLicenseName |
( |
|
$secondLicenseName | ) |
|
◆ setSecondType()
| Fossology\UI\Api\Models\LicenseCompatibilityRule::setSecondType |
( |
|
$secondType | ) |
|
◆ $comment
| string Fossology\UI\Api\Models\LicenseCompatibilityRule::$comment |
|
private |
◆ $compatibility
| boolean Fossology\UI\Api\Models\LicenseCompatibilityRule::$compatibility |
|
private |
◆ $firstLicenseId
| int null Fossology\UI\Api\Models\LicenseCompatibilityRule::$firstLicenseId |
|
private |
◆ $firstLicenseName
| string null Fossology\UI\Api\Models\LicenseCompatibilityRule::$firstLicenseName |
|
private |
◆ $firstType
| string null Fossology\UI\Api\Models\LicenseCompatibilityRule::$firstType |
|
private |
◆ $id
| int Fossology\UI\Api\Models\LicenseCompatibilityRule::$id |
|
private |
◆ $secondLicenseId
| int null Fossology\UI\Api\Models\LicenseCompatibilityRule::$secondLicenseId |
|
private |
◆ $secondLicenseName
| string null Fossology\UI\Api\Models\LicenseCompatibilityRule::$secondLicenseName |
|
private |
◆ $secondType
| string null Fossology\UI\Api\Models\LicenseCompatibilityRule::$secondType |
|
private |
The documentation for this class was generated from the following file: