public class

VersionImpl

extends Object
implements Version
java.lang.Object
   ↳ com.atlassian.jira.project.version.VersionImpl

Summary

[Expand]
Inherited Fields
From interface com.atlassian.jira.entity.WithId
From interface com.atlassian.jira.util.Named
Public Constructors
VersionImpl(Long projectId, Long id, String name)
VersionImpl(Long projectId, Long id, String name, String description, Long sequence, boolean archived, boolean released, Date releaseDate, Date startDate)
Public Methods
@Nullable static Timestamp copyDate(Date date)
boolean equals(Object o)
@Nullable String getDescription()
Long getId()
String getName()
Project getProject()
Returns project this version relates to.
Long getProjectId()
Returns the ID of the project that this version belongs to.
Project getProjectObject()
Returns project this version relates to.
@Nullable Date getReleaseDate()
Long getSequence()
@Nullable Date getStartDate()
Returns the start date of the version
int hashCode()
boolean isArchived()
boolean isReleased()
GenericValue toGenericValue()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.entity.WithId
From interface com.atlassian.jira.project.ProjectConstant
From interface com.atlassian.jira.project.version.Version
From interface com.atlassian.jira.util.Named
From interface com.atlassian.jira.util.NamedWithDescription

Public Constructors

public VersionImpl (Long projectId, Long id, String name)

public VersionImpl (Long projectId, Long id, String name, String description, Long sequence, boolean archived, boolean released, Date releaseDate, Date startDate)

Public Methods

@Nullable public static Timestamp copyDate (Date date)

public boolean equals (Object o)

@Nullable public String getDescription ()

public Long getId ()

public String getName ()

public Project getProject ()

Returns project this version relates to.

Returns
  • project this version relates to.

public Long getProjectId ()

Returns the ID of the project that this version belongs to.

Returns
  • the ID of the project that this version belongs to.

public Project getProjectObject ()

Returns project this version relates to.

Same as getProject() and exists for legacy reasons.

Returns
  • project domain object

@Nullable public Date getReleaseDate ()

public Long getSequence ()

@Nullable public Date getStartDate ()

Returns the start date of the version

Returns
  • The start date of the version

public int hashCode ()

public boolean isArchived ()

public boolean isReleased ()

public GenericValue toGenericValue ()

public String toString ()