com.atlassian.fisheye.spi.data
Class FileRevisionKeyData

java.lang.Object
  extended by com.atlassian.fisheye.spi.data.FileRevisionKeyData

public class FileRevisionKeyData
extends java.lang.Object

Data Object for storing the path and revision identifying a filerevision


Constructor Summary
FileRevisionKeyData()
           
FileRevisionKeyData(java.lang.String path, java.lang.String rev)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getPath()
           
 java.lang.String getRev()
           
 int hashCode()
           
 void setPath(java.lang.String path)
           
 void setRev(java.lang.String rev)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileRevisionKeyData

public FileRevisionKeyData(java.lang.String path,
                           java.lang.String rev)
Parameters:
path - the path of the filerevision with respect to the fisheye repository root
rev - the filerevision id

FileRevisionKeyData

public FileRevisionKeyData()
Method Detail

getPath

public java.lang.String getPath()
Returns:
the path of the filerevision with respect to the fisheye repository root

getRev

public java.lang.String getRev()
Returns:
the filerevision id

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

setPath

public void setPath(java.lang.String path)

setRev

public void setRev(java.lang.String rev)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object