FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\Lib\Data\LicenseMatch Class Reference
Collaboration diagram for Fossology\Lib\Data\LicenseMatch:
Collaboration graph

Public Member Functions

 __construct ($fileId, LicenseRef $licenseRef, AgentRef $agentRef, $licenseFileId, $percent=null)
 
 getFileId ()
 
 getLicenseFileId ()
 
 getLicenseRef ()
 
 getAgentRef ()
 
 getPercentage ()
 
 getLicenseId ()
 

Private Attributes

 $licenseRef
 
 $agentRef
 
 $percent
 
 $fileId
 
 $licenseFileId
 

Detailed Description

Definition at line 11 of file LicenseMatch.php.

Constructor & Destructor Documentation

◆ __construct()

Fossology\Lib\Data\LicenseMatch::__construct (   $fileId,
LicenseRef  $licenseRef,
AgentRef  $agentRef,
  $licenseFileId,
  $percent = null 
)
Parameters
int$fileId
LicenseRef$licenseRef
AgentRef$agentRef
int$licenseFileId
null | int$percent

Definition at line 41 of file LicenseMatch.php.

Member Function Documentation

◆ getAgentRef()

Fossology\Lib\Data\LicenseMatch::getAgentRef ( )
Returns
AgentRef

Definition at line 77 of file LicenseMatch.php.

◆ getFileId()

Fossology\Lib\Data\LicenseMatch::getFileId ( )
Returns
int

Definition at line 53 of file LicenseMatch.php.

◆ getLicenseFileId()

Fossology\Lib\Data\LicenseMatch::getLicenseFileId ( )
Returns
int

Definition at line 61 of file LicenseMatch.php.

◆ getLicenseId()

Fossology\Lib\Data\LicenseMatch::getLicenseId ( )
Returns
int

Definition at line 93 of file LicenseMatch.php.

◆ getLicenseRef()

Fossology\Lib\Data\LicenseMatch::getLicenseRef ( )
Returns
LicenseRef

Definition at line 69 of file LicenseMatch.php.

◆ getPercentage()

Fossology\Lib\Data\LicenseMatch::getPercentage ( )
Returns
int|null

Definition at line 85 of file LicenseMatch.php.


The documentation for this class was generated from the following file: