org.sonar.core.purge
Class PurgeableSnapshotDto

java.lang.Object
  extended by org.sonar.core.purge.PurgeableSnapshotDto
All Implemented Interfaces:
Comparable<PurgeableSnapshotDto>

public class PurgeableSnapshotDto
extends Object
implements Comparable<PurgeableSnapshotDto>


Constructor Summary
PurgeableSnapshotDto()
           
 
Method Summary
 int compareTo(PurgeableSnapshotDto other)
           
 boolean equals(Object o)
           
 Date getDate()
           
 long getSnapshotId()
           
 boolean hasEvents()
           
 int hashCode()
           
 boolean isLast()
           
 PurgeableSnapshotDto setDate(Date date)
           
 PurgeableSnapshotDto setHasEvents(boolean b)
           
 PurgeableSnapshotDto setLast(boolean last)
           
 PurgeableSnapshotDto setSnapshotId(long snapshotId)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PurgeableSnapshotDto

public PurgeableSnapshotDto()
Method Detail

getDate

public Date getDate()

getSnapshotId

public long getSnapshotId()

hasEvents

public boolean hasEvents()

isLast

public boolean isLast()

setDate

public PurgeableSnapshotDto setDate(Date date)

setSnapshotId

public PurgeableSnapshotDto setSnapshotId(long snapshotId)

setHasEvents

public PurgeableSnapshotDto setHasEvents(boolean b)

setLast

public PurgeableSnapshotDto setLast(boolean last)

compareTo

public int compareTo(PurgeableSnapshotDto other)
Specified by:
compareTo in interface Comparable<PurgeableSnapshotDto>

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 © 2009-2012 SonarSource. All Rights Reserved.