|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jtheque.utils.bean.Version
public final class Version
A version of a module or an other part of the application.
Constructor Summary | |
---|---|
Version(String version)
Construct a new JThequeVersion with the String version. |
Method Summary | |
---|---|
int |
compareTo(Version o)
|
boolean |
equals(Object obj)
|
String |
getVersion()
Returns the string version. |
int |
hashCode()
|
boolean |
isGreaterThan(Version otherVersion)
Indicate if the version is greater than an other version. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Version(String version)
version
- The versionMethod Detail |
---|
public boolean isGreaterThan(Version otherVersion)
otherVersion
- The version we want to compare to
public String getVersion()
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public int compareTo(Version o)
compareTo
in interface Comparable<Version>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |