Interface Version
- All Superinterfaces:
Named
,NamedWithDescription
,ProjectConstant
,WithId
- All Known Implementing Classes:
MockVersion
,VersionImpl
Project version. Immutable since v7.0.
-
Field Summary
Fields inherited from interface com.atlassian.jira.util.Named
NAME_COMPARATOR
Fields inherited from interface com.atlassian.jira.entity.WithId
ID_COMPARATOR
-
Method Summary
-
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 interfaceProjectConstant
- Returns:
- the ID of the project that this version belongs to.
- Since:
- v5.2
-
getProjectObject
Project getProjectObject()Deprecated.Please usegetProject()
. Since v7.0Returns project this version relates to.Same as getProject() and exists for legacy reasons.
- Returns:
- project domain object
- Since:
- v3.10
-
getId
- Specified by:
getId
in interfaceProjectConstant
- Specified by:
getId
in interfaceWithId
- Returns:
- the unique id of the entity.
-
getName
String getName()- Specified by:
getName
in interfaceNamed
- Specified by:
getName
in interfaceProjectConstant
-
getDescription
- Specified by:
getDescription
in interfaceNamedWithDescription
- Specified by:
getDescription
in interfaceProjectConstant
-
getSequence
Long getSequence() -
isArchived
boolean isArchived() -
isReleased
boolean isReleased() -
getReleaseDate
-
getStartDate
Returns the start date of the version- Returns:
- The start date of the version
- Since:
- v6.0
-
getProject()
.