com.atlassian.jira.rest.client.api.domain
Class Version
java.lang.Object
com.atlassian.jira.rest.client.api.domain.Version
- All Implemented Interfaces:
- AddressableEntity, NamedEntity
public class Version
- extends java.lang.Object
- implements AddressableEntity, NamedEntity
Complete information about a version defined for a JIRA project
- Since:
- v0.1
Constructor Summary |
Version(java.net.URI self,
java.lang.Long id,
java.lang.String name,
java.lang.String description,
boolean archived,
boolean released,
org.joda.time.DateTime releaseDate)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Version
public Version(java.net.URI self,
@Nullable
java.lang.Long id,
java.lang.String name,
java.lang.String description,
boolean archived,
boolean released,
@Nullable
org.joda.time.DateTime releaseDate)
getSelf
public java.net.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 java.lang.Long getId()
getDescription
public java.lang.String getDescription()
getName
public java.lang.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 java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2013 Atlassian. All Rights Reserved.