com.atlassian.jira.issue.vote
Class VoteHistoryEntryImpl

java.lang.Object
  extended by com.atlassian.jira.issue.vote.VoteHistoryEntryImpl
All Implemented Interfaces:
VoteHistoryEntry

public class VoteHistoryEntryImpl
extends Object
implements VoteHistoryEntry

This represents an entry in the vote history of an issue at a point in time. Vote history entries are created whenever a vote is added or removed from an issue.

Since:
v4.4

Constructor Summary
VoteHistoryEntryImpl(Long issueId, Timestamp timestamp, long votes)
           
 
Method Summary
 boolean equals(Object o)
           
 Long getIssueId()
          Get the issue Id.
 Timestamp getTimestamp()
          Get the Timestamp of this historical entry.
 long getVotes()
          Get the number of Votes recoreded for the issue at this moment in time.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VoteHistoryEntryImpl

public VoteHistoryEntryImpl(Long issueId,
                            Timestamp timestamp,
                            long votes)
Method Detail

getIssueId

public Long getIssueId()
Description copied from interface: VoteHistoryEntry
Get the issue Id.

Specified by:
getIssueId in interface VoteHistoryEntry

getTimestamp

public Timestamp getTimestamp()
Description copied from interface: VoteHistoryEntry
Get the Timestamp of this historical entry.

Specified by:
getTimestamp in interface VoteHistoryEntry

getVotes

public long getVotes()
Description copied from interface: VoteHistoryEntry
Get the number of Votes recoreded for the issue at this moment in time.

Specified by:
getVotes in interface VoteHistoryEntry

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2014 Atlassian. All Rights Reserved.