Class Reference
java.lang.Object
org.owasp.dependencycheck.dependency.Reference
- All Implemented Interfaces:
Serializable, Comparable<Reference>
An external reference for a vulnerability. This contains a name, URL, and a
source.
- Author:
- Jeremy Long
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Reference
public Reference()Creates a new reference. -
Reference
-
-
Method Details
-
getName
-
setName
-
getUrl
-
setUrl
-
getSource
-
setSource
Set the value of source.- Parameters:
source- new value of source
-
toString
-
equals
-
hashCode
-
compareTo
Implementation of the comparable interface.- Specified by:
compareToin interfaceComparable<Reference>- Parameters:
o- the Reference being compared- Returns:
- an integer indicating the ordering of the two objects
-