Interface Version

All Superinterfaces:
Named, NamedWithDescription, ProjectConstant, WithId
All Known Implementing Classes:
MockVersion, VersionImpl

@PublicApi public interface Version extends ProjectConstant, NamedWithDescription, WithId
Project version. Immutable since v7.0.
  • Method Details

    • getProject

      Project getProject()
      Returns project this version relates to.
      Returns:
      project this version relates to.
    • getProjectId

      Long getProjectId()
      Returns the ID of the project that this version belongs to.
      Specified by:
      getProjectId in interface ProjectConstant
      Returns:
      the ID of the project that this version belongs to.
      Since:
      v5.2
    • getProjectObject

      Project getProjectObject()
      Deprecated.
      Please use getProject(). Since v7.0
      Returns project this version relates to.

      Same as getProject() and exists for legacy reasons.

      Returns:
      project domain object
      Since:
      v3.10
    • getId

      @Nullable Long getId()
      Specified by:
      getId in interface ProjectConstant
      Specified by:
      getId in interface WithId
      Returns:
      the unique id of the entity.
    • getName

      String getName()
      Specified by:
      getName in interface Named
      Specified by:
      getName in interface ProjectConstant
    • getDescription

      @Nullable String getDescription()
      Specified by:
      getDescription in interface NamedWithDescription
      Specified by:
      getDescription in interface ProjectConstant
    • getSequence

      Long getSequence()
    • isArchived

      boolean isArchived()
    • isReleased

      boolean isReleased()
    • getReleaseDate

      @Nullable Date getReleaseDate()
    • getStartDate

      @Nullable Date getStartDate()
      Returns the start date of the version
      Returns:
      The start date of the version
      Since:
      v6.0