com.atlassian.jira.project.version
Class VersionImpl

java.lang.Object
  extended by com.atlassian.jira.ofbiz.AbstractOfBizValueWrapper
      extended by com.atlassian.jira.project.version.VersionImpl
All Implemented Interfaces:
OfBizValueWrapper, Version, Comparable

public class VersionImpl
extends AbstractOfBizValueWrapper
implements Version, Comparable


Field Summary
 
Fields inherited from class com.atlassian.jira.ofbiz.AbstractOfBizValueWrapper
genericValue
 
Constructor Summary
VersionImpl(ProjectManager projectManager, org.ofbiz.core.entity.GenericValue genericValue)
           
 
Method Summary
 int compareTo(Object o)
           
 String getDescription()
           
 Long getId()
           
 String getName()
           
 org.ofbiz.core.entity.GenericValue getProject()
          Returns Project as a GenericValue.
 Project getProjectObject()
          Returns project this verion relates to.
 Date getReleaseDate()
           
 Long getSequence()
           
 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)
           
 String toString()
           
 
Methods inherited from class com.atlassian.jira.ofbiz.AbstractOfBizValueWrapper
equals, getGenericValue, getLong, getString, getTimestamp, hashCode, store
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.ofbiz.OfBizValueWrapper
getGenericValue, getLong, getString, getTimestamp, store
 

Constructor Detail

VersionImpl

public VersionImpl(ProjectManager projectManager,
                   org.ofbiz.core.entity.GenericValue genericValue)
Method Detail

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.

getProjectObject

public Project getProjectObject()
Description copied from interface: Version
Returns project this verion relates to.

Specified by:
getProjectObject in interface Version
Returns:
project domain object

getId

public Long getId()
Specified by:
getId in interface Version

getName

public String getName()
Specified by:
getName in interface Version

setName

public void setName(String name)
Specified by:
setName in interface Version

getDescription

public String getDescription()
Specified by:
getDescription in interface Version

setDescription

public void setDescription(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

public Date getReleaseDate()
Specified by:
getReleaseDate in interface Version

setReleaseDate

public void setReleaseDate(Date releasedate)
Specified by:
setReleaseDate in interface Version

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2009 Atlassian. All Rights Reserved.