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

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

public class Version
extends Object
implements AddressableEntity, NamedEntity

Complete information about a version defined for a JIRA project

Since:
v0.1

Constructor Summary
Version(URI self, Long id, String name, String description, boolean archived, boolean released, org.joda.time.DateTime releaseDate)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
           
 Long getId()
           
 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,
               @Nullable
               Long id,
               String name,
               String description,
               boolean archived,
               boolean released,
               @Nullable
               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

getId

@Nullable
public Long getId()

getDescription

public String getDescription()

getName

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

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 © 2012 Atlassian Pty Ltd. All Rights Reserved.