Class SpdxItemDifference

java.lang.Object
org.spdx.utility.compare.SpdxItemDifference
Direct Known Subclasses:
SpdxFileDifference

public class SpdxItemDifference extends Object
Contains the results of a comparison between two SPDX items with the same name
Author:
Gary O'Neall
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Returns:
      the name
    • getCommentA

      public String getCommentA()
      Returns:
      the commentA
    • getCommentB

      public String getCommentB()
      Returns:
      the commentB
    • getConcludedLicenseA

      public String getConcludedLicenseA()
      Returns:
      the concludedLicenseA
    • getConcludedLicenseB

      public String getConcludedLicenseB()
      Returns:
      the concludedLicenseB
    • isConcludedLicenseEquals

      public boolean isConcludedLicenseEquals()
      Returns:
      the concludedLicenseEquals
    • getCopyrightA

      public String getCopyrightA()
      Returns:
      the copyrightA
    • getCopyrightB

      public String getCopyrightB()
      Returns:
      the copyrightB
    • getLicenseCommentsA

      public String getLicenseCommentsA()
      Returns:
      the licenseCommentsA
    • getLicenseCommentsB

      public String getLicenseCommentsB()
      Returns:
      the licenseCommentsB
    • isSeenLicensesEquals

      public boolean isSeenLicensesEquals()
      Returns:
      the seenLicensesEqual
    • getUniqueSeenLicensesA

      public List<AnyLicenseInfo> getUniqueSeenLicensesA()
      Returns:
      the uniqueSeenLicensesA
    • getUniqueSeenLicensesB

      public List<AnyLicenseInfo> getUniqueSeenLicensesB()
      Returns:
      the uniqueSeenLicensesB
    • isCommentsEquals

      public boolean isCommentsEquals()
    • isCopyrightsEqual

      public boolean isCopyrightsEqual()
    • isLicenseCommentsEqual

      public boolean isLicenseCommentsEqual()
    • isRelationshipsEquals

      public boolean isRelationshipsEquals()
      Returns:
      the relationshipsEquals
    • getUniqueRelationshipA

      public List<Relationship> getUniqueRelationshipA()
      Returns:
      the uniqueRelationshipA
    • getUniqueRelationshipB

      public List<Relationship> getUniqueRelationshipB()
      Returns:
      the uniqueRelationshipB
    • isAnnotationsEquals

      public boolean isAnnotationsEquals()
      Returns:
      the annotationsEquals
    • getUniqueAnnotationsA

      public List<Annotation> getUniqueAnnotationsA()
      Returns:
      the uniqueAnnotationsA
    • getUniqueAnnotationsB

      public List<Annotation> getUniqueAnnotationsB()
      Returns:
      the uniqueAnnotationsB