Class SpdxItemDifference
java.lang.Object
org.spdx.utility.compare.SpdxItemDifference
- Direct Known Subclasses:
SpdxFileDifference
Contains the results of a comparison between two SPDX items with the same name
- Author:
- Gary O'Neall
-
Constructor Summary
ConstructorsConstructorDescriptionSpdxItemDifference(org.spdx.library.model.v2.SpdxItem itemA, org.spdx.library.model.v2.SpdxItem itemB, boolean concludedLicensesEqual, boolean seenLicensesEqual, List<org.spdx.library.model.v2.license.AnyLicenseInfo> uniqueSeenLicensesA, List<org.spdx.library.model.v2.license.AnyLicenseInfo> uniqueSeenLicensesB, boolean relationshipsEquals, List<org.spdx.library.model.v2.Relationship> uniqueRelationshipA, List<org.spdx.library.model.v2.Relationship> uniqueRelationshipB, boolean annotationsEquals, List<org.spdx.library.model.v2.Annotation> uniqueAnnotationsA, List<org.spdx.library.model.v2.Annotation> uniqueAnnotationsB) -
Method Summary
Modifier and TypeMethodDescriptiongetName()List<org.spdx.library.model.v2.Annotation> List<org.spdx.library.model.v2.Annotation> List<org.spdx.library.model.v2.Relationship> List<org.spdx.library.model.v2.Relationship> List<org.spdx.library.model.v2.license.AnyLicenseInfo> List<org.spdx.library.model.v2.license.AnyLicenseInfo> booleanbooleanbooleanbooleanbooleanbooleanboolean
-
Constructor Details
-
SpdxItemDifference
public SpdxItemDifference(org.spdx.library.model.v2.SpdxItem itemA, org.spdx.library.model.v2.SpdxItem itemB, boolean concludedLicensesEqual, boolean seenLicensesEqual, List<org.spdx.library.model.v2.license.AnyLicenseInfo> uniqueSeenLicensesA, List<org.spdx.library.model.v2.license.AnyLicenseInfo> uniqueSeenLicensesB, boolean relationshipsEquals, List<org.spdx.library.model.v2.Relationship> uniqueRelationshipA, List<org.spdx.library.model.v2.Relationship> uniqueRelationshipB, boolean annotationsEquals, List<org.spdx.library.model.v2.Annotation> uniqueAnnotationsA, List<org.spdx.library.model.v2.Annotation> uniqueAnnotationsB) throws org.spdx.core.InvalidSPDXAnalysisException - Throws:
org.spdx.core.InvalidSPDXAnalysisException
-
-
Method Details
-
getName
- Returns:
- the name
-
getCommentA
- Returns:
- the commentA
-
getCommentB
- Returns:
- the commentB
-
getConcludedLicenseA
- Returns:
- the concludedLicenseA
-
getConcludedLicenseB
- Returns:
- the concludedLicenseB
-
isConcludedLicenseEquals
public boolean isConcludedLicenseEquals()- Returns:
- the concludedLicenseEquals
-
getCopyrightA
- Returns:
- the copyrightA
-
getCopyrightB
- Returns:
- the copyrightB
-
getLicenseCommentsA
- Returns:
- the licenseCommentsA
-
getLicenseCommentsB
- Returns:
- the licenseCommentsB
-
isSeenLicensesEquals
public boolean isSeenLicensesEquals()- Returns:
- the seenLicensesEqual
-
getUniqueSeenLicensesA
- Returns:
- the uniqueSeenLicensesA
-
getUniqueSeenLicensesB
- Returns:
- the uniqueSeenLicensesB
-
isCommentsEquals
public boolean isCommentsEquals() -
isCopyrightsEqual
public boolean isCopyrightsEqual() -
isLicenseCommentsEqual
public boolean isLicenseCommentsEqual() -
isRelationshipsEquals
public boolean isRelationshipsEquals()- Returns:
- the relationshipsEquals
-
getUniqueRelationshipA
- Returns:
- the uniqueRelationshipA
-
getUniqueRelationshipB
- Returns:
- the uniqueRelationshipB
-
isAnnotationsEquals
public boolean isAnnotationsEquals()- Returns:
- the annotationsEquals
-
getUniqueAnnotationsA
- Returns:
- the uniqueAnnotationsA
-
getUniqueAnnotationsB
- Returns:
- the uniqueAnnotationsB
-