Class NugetPackageReference
- java.lang.Object
-
- org.owasp.dependencycheck.data.nuget.NugetPackageReference
-
- Direct Known Subclasses:
NugetPackage
public class NugetPackageReference extends java.lang.Object
Represents 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 boolean
equals(java.lang.Object obj)
java.lang.String
getId()
Gets the id.java.lang.String
getVersion()
Gets the version.int
hashCode()
void
setId(java.lang.String id)
Sets the id.void
setVersion(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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-