Class NugetPackageReference

  • Direct Known Subclasses:
    NugetPackage

    public class NugetPackageReference
    extends java.lang.Object
    Represents a reference to a NuGet package and version.
    Author:
    paulirwin
    • 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.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NugetPackageReference

        public NugetPackageReference()
    • 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 class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object