com.atlassian.jira.project.version
Interface Version

All Superinterfaces:
OfBizValueWrapper, ProjectConstant
All Known Implementing Classes:
MockVersion, VersionImpl

@PublicApi
public interface Version
extends OfBizValueWrapper, ProjectConstant


Method Summary
 String getDescription()
           
 Long getId()
           
 String getName()
           
 org.ofbiz.core.entity.GenericValue getProject()
          Deprecated. Please use getProjectObject(). Since v4.0
 Long getProjectId()
          Returns the ID of the project that this version belongs to.
 Project getProjectObject()
          Returns project this version relates to.
 Date getReleaseDate()
           
 Long getSequence()
           
 Date getStartDate()
          Returns the start date of the version
 boolean isArchived()
           
 boolean isReleased()
           
 void setArchived(boolean archived)
           
 void setDescription(String description)
           
 void setName(String name)
           
 void setReleased(boolean released)
           
 void setReleaseDate(Date releasedate)
           
 void setSequence(Long sequence)
           
 void setStartDate(Date startDate)
          Sets the start date of the version
 
Methods inherited from interface com.atlassian.jira.ofbiz.OfBizValueWrapper
getGenericValue, getLong, getString, getTimestamp, store
 

Method Detail

getProject

org.ofbiz.core.entity.GenericValue getProject()
Deprecated. Please use getProjectObject(). Since v4.0

Returns Project as a GenericValue.

Returns:
Project as a GenericValue.

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()
Returns project this version relates to.

Returns:
project domain object
Since:
v3.10

getId

Long getId()
Specified by:
getId in interface ProjectConstant

getName

String getName()
Specified by:
getName in interface ProjectConstant

setName

void setName(String name)

getDescription

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

setDescription

void setDescription(@Nullable
                    String description)

getSequence

Long getSequence()

setSequence

void setSequence(Long sequence)

isArchived

boolean isArchived()

setArchived

void setArchived(boolean archived)

isReleased

boolean isReleased()

setReleased

void setReleased(boolean released)

getReleaseDate

@Nullable
Date getReleaseDate()

setReleaseDate

void setReleaseDate(@Nullable
                    Date releasedate)

getStartDate

@Nullable
Date getStartDate()
Returns the start date of the version

Returns:
The start date of the version
Since:
v6.0

setStartDate

void setStartDate(@Nullable
                  Date startDate)
Sets the start date of the version

Parameters:
startDate - The start date of the version
Since:
v6.0


Copyright © 2002-2013 Atlassian. All Rights Reserved.