Class NugetPackageReference
- java.lang.Object
-
- org.owasp.dependencycheck.data.nuget.NugetPackageReference
-
- Direct Known Subclasses:
NugetPackage
public class NugetPackageReference extends java.lang.ObjectRepresents a reference to a NuGet package and version.- Author:
- paulirwin
-
-
Constructor Summary
Constructors Constructor Description NugetPackageReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetId()Gets the id.java.lang.StringgetVersion()Gets the version.inthashCode()voidsetId(java.lang.String id)Sets the id.voidsetVersion(java.lang.String version)Sets the version.
-
-
-
Method Detail
-
setId
public void setId(java.lang.String id)
Sets the id.- Parameters:
id- the id
-
getId
public java.lang.String getId()
Gets the id.- Returns:
- the id
-
setVersion
public void setVersion(java.lang.String version)
Sets the version.- Parameters:
version- the version
-
getVersion
public java.lang.String getVersion()
Gets the version.- Returns:
- the version
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-