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 SummaryConstructors Constructor Description NugetPackageReference()
 - 
Method SummaryAll 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- 
setIdpublic void setId(java.lang.String id) Sets the id.- Parameters:
- id- the id
 
 - 
getIdpublic java.lang.String getId() Gets the id.- Returns:
- the id
 
 - 
setVersionpublic void setVersion(java.lang.String version) Sets the version.- Parameters:
- version- the version
 
 - 
getVersionpublic java.lang.String getVersion() Gets the version.- Returns:
- the version
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 
- 
 
-