com.atlassian.jira.external.beans
Class ExternalVersion

java.lang.Object
  extended by com.atlassian.jira.external.beans.ExternalVersion
All Implemented Interfaces:
NamedExternalObject, Comparable

public class ExternalVersion
extends Object
implements NamedExternalObject, Comparable


Field Summary
static String AFFECTED_VERSION_PREFIX
           
static String FIXED_VERSION_PREFIX
           
 
Constructor Summary
ExternalVersion()
           
ExternalVersion(String name)
           
 
Method Summary
 int compareTo(Object o)
           
 boolean equals(Object o)
           
 String getDescription()
           
 String getId()
           
 String getName()
           
 String getProjectId()
           
 Date getReleaseDate()
           
 Long getSequence()
           
 int hashCode()
           
 boolean isArchived()
           
 boolean isReleased()
           
 void setArchived(boolean archived)
           
 void setDescription(String description)
           
 void setId(String id)
           
 void setName(String name)
           
 void setProjectId(String projectId)
           
 void setReleased(boolean released)
           
 void setReleaseDate(Date releaseDate)
           
 void setSequence(Long sequence)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

AFFECTED_VERSION_PREFIX

public static final String AFFECTED_VERSION_PREFIX
See Also:
Constant Field Values

FIXED_VERSION_PREFIX

public static final String FIXED_VERSION_PREFIX
See Also:
Constant Field Values
Constructor Detail

ExternalVersion

public ExternalVersion()

ExternalVersion

public ExternalVersion(String name)
Method Detail

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getId

public String getId()
Specified by:
getId in interface NamedExternalObject

setId

public void setId(String id)
Specified by:
setId in interface NamedExternalObject

getProjectId

public String getProjectId()

setProjectId

public void setProjectId(String projectId)

getName

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

setName

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

isReleased

public boolean isReleased()

setReleased

public void setReleased(boolean released)

isArchived

public boolean isArchived()

setArchived

public void setArchived(boolean archived)

getSequence

public Long getSequence()

setSequence

public void setSequence(Long sequence)

getReleaseDate

public Date getReleaseDate()

setReleaseDate

public void setReleaseDate(Date releaseDate)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

compareTo

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2011 Atlassian. All Rights Reserved.