Class BugzillaVersion

java.lang.Object
b4j.core.AbstractBugzillaObject
b4j.core.session.bugzilla.BugzillaVersion
All Implemented Interfaces:
BugzillaObject, Version

public class BugzillaVersion
extends AbstractBugzillaObject
implements Version
Bugzilla implementation of a Version.
Author:
ralph
  • Constructor Details

  • Method Details

    • getId

      public java.lang.Long getId()
      Returns the ID.
      Specified by:
      getId in interface Version
      Returns:
      the ID of the version
    • getProject

      public Project getProject()
      Returns the project.
      Specified by:
      getProject in interface Version
      Returns:
      the project
    • getName

      public java.lang.String getName()
      Returns the name.
      Specified by:
      getName in interface Version
      Returns:
      the name of the version
    • getReleaseDate

      public java.util.Date getReleaseDate()
      Returns the release date.
      Specified by:
      getReleaseDate in interface Version
      Returns:
      the release date of the version
    • setId

      public void setId​(java.lang.Long id)
      Sets the id.
      Parameters:
      id - the id to set
    • setProject

      public void setProject​(Project project)
      Sets the project.
      Parameters:
      project - the project to set
    • setName

      public void setName​(java.lang.String name)
      Sets the name.
      Parameters:
      name - the name to set
    • setReleaseDate

      public void setReleaseDate​(java.util.Date releaseDate)
      Sets the releaseDate.
      Parameters:
      releaseDate - the releaseDate to set
    • hashCode

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

      public boolean equals​(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object