com.atlassian.jira.project.version
Class VersionImpl
java.lang.Object
com.atlassian.jira.ofbiz.AbstractOfBizValueWrapper
com.atlassian.jira.project.version.VersionImpl
- All Implemented Interfaces:
- OfBizValueWrapper, ProjectConstant, Version, Comparable
public class VersionImpl
- extends AbstractOfBizValueWrapper
- implements Version, Comparable
VersionImpl
public VersionImpl(ProjectManager projectManager,
org.ofbiz.core.entity.GenericValue genericValue)
getProject
public org.ofbiz.core.entity.GenericValue getProject()
- Description copied from interface:
Version
- Returns Project as a GenericValue.
- Specified by:
getProject
in interface Version
- Returns:
- Project as a GenericValue.
getProjectId
public Long getProjectId()
- Description copied from interface:
Version
- Returns the ID of the project that this version belongs to.
- Specified by:
getProjectId
in interface ProjectConstant
- Specified by:
getProjectId
in interface Version
- Returns:
- the ID of the project that this version belongs to.
getProjectObject
public Project getProjectObject()
- Description copied from interface:
Version
- Returns project this version relates to.
- Specified by:
getProjectObject
in interface Version
- Returns:
- project domain object
getId
public Long getId()
- Specified by:
getId
in interface ProjectConstant
- Specified by:
getId
in interface Version
getName
public String getName()
- Specified by:
getName
in interface ProjectConstant
- Specified by:
getName
in interface Version
setName
public void setName(String name)
- Specified by:
setName
in interface Version
getDescription
@Nullable
public String getDescription()
- Specified by:
getDescription
in interface ProjectConstant
- Specified by:
getDescription
in interface Version
setDescription
public void setDescription(@Nullable
String description)
- Specified by:
setDescription
in interface Version
getSequence
public Long getSequence()
- Specified by:
getSequence
in interface Version
setSequence
public void setSequence(Long sequence)
- Specified by:
setSequence
in interface Version
isArchived
public boolean isArchived()
- Specified by:
isArchived
in interface Version
setArchived
public void setArchived(boolean archived)
- Specified by:
setArchived
in interface Version
isReleased
public boolean isReleased()
- Specified by:
isReleased
in interface Version
setReleased
public void setReleased(boolean released)
- Specified by:
setReleased
in interface Version
getReleaseDate
@Nullable
public Date getReleaseDate()
- Specified by:
getReleaseDate
in interface Version
setReleaseDate
public void setReleaseDate(@Nullable
Date releasedate)
- Specified by:
setReleaseDate
in interface Version
getStartDate
@Nullable
public Date getStartDate()
- Description copied from interface:
Version
- Returns the start date of the version
- Specified by:
getStartDate
in interface Version
- Returns:
- The start date of the version
setStartDate
public void setStartDate(@Nullable
Date startDate)
- Description copied from interface:
Version
- Sets the start date of the version
- Specified by:
setStartDate
in interface Version
- Parameters:
startDate
- The start date of the version
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2013 Atlassian. All Rights Reserved.