Interface Identifier

All Superinterfaces:
Comparable<Identifier>, Serializable
All Known Implementing Classes:
CpeIdentifier, GenericIdentifier, PurlIdentifier

public interface Identifier extends Comparable<Identifier>, Serializable
The Identifier used to label dependencies. Examples of identifiers include Maven Group Artifact Version coordinates or the NVD's Common Platform Enumeration.
Author:
Jeremy Long
  • Method Details

    • getConfidence

      Confidence getConfidence()
      Get the value of confidence.
      Returns:
      the value of confidence
    • setConfidence

      void setConfidence(Confidence confidence)
      Set the value of confidence.
      Parameters:
      confidence - the value of confidence
    • getUrl

      String getUrl()
      Get the value of URL.
      Returns:
      the value of URL
    • setUrl

      void setUrl(String url)
      Set the value of URL.
      Parameters:
      url - the value of URL
    • getNotes

      String getNotes()
      Get the value of notes from suppression notes.
      Returns:
      the value of notes
    • getValue

      String getValue()
      Get the string representation of the Identifier.
      Returns:
      the value of notes
    • setNotes

      void setNotes(String notes)
      Set the value of notes.
      Parameters:
      notes - new value of notes