com.sas.drugdev.remote.repository
Class FileVersion

java.lang.Object
  extended by com.sas.drugdev.remote.repository.FileVersion

public class FileVersion
extends java.lang.Object

Simple class representing a version of a File. Get an instance by using the fromString(java.lang.String) static method. This object can be rendered as a String using the toString() method. Use this string then, in the fromString method. This provides a mechanism to persist the version information and later construct a FileVersion object using it.


Method Summary
 boolean equals(java.lang.Object obj)
           
static FileVersion fromString(java.lang.String versionStr)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

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

fromString

public static FileVersion fromString(java.lang.String versionStr)