com.atlassian.jira.rest.client.domain
Class Version

java.lang.Object
  extended by com.atlassian.jira.rest.client.domain.Version
All Implemented Interfaces:
AddressableEntity

public class Version
extends Object
implements AddressableEntity

Complete information about a version defined for a JIRA project

Since:
v0.1

Constructor Summary
Version(URI self, String name, String description, boolean archived, boolean released, org.joda.time.DateTime releaseDate)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
           
 String getName()
           
 org.joda.time.DateTime getReleaseDate()
           
 URI getSelf()
           
 int hashCode()
           
 boolean isArchived()
           
 boolean isReleased()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Version

public Version(URI self,
               String name,
               String description,
               boolean archived,
               boolean released,
               org.joda.time.DateTime releaseDate)
Method Detail

getSelf

public URI getSelf()
Specified by:
getSelf in interface AddressableEntity
Returns:
URI to this resource or (usually) its complete version - when partial representation is embedded in other resources

getDescription

public String getDescription()

getName

public String getName()

isArchived

public boolean isArchived()

isReleased

public boolean isReleased()

getReleaseDate

@Nullable
public org.joda.time.DateTime getReleaseDate()

toString

public String toString()
Overrides:
toString in class Object

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2011 Atlassian Pty Ltd. All Rights Reserved.