org.codehaus.modello.model
Class Version
java.lang.Object
org.codehaus.modello.model.Version
public class Version
extends java.lang.Object
A version string is on the form ...
$Id: Version.java 360 2005-06-12 10:39:57Z trygvis $
INFINITE
public static final Version INFINITE
Version
public Version(String version)
equals
public boolean equals(Object object)
getMajor
public int getMajor()
getMicro
public int getMicro()
getMinor
public int getMinor()
greaterOrEqualsThan
public boolean greaterOrEqualsThan(Version other)
Returns true if this
is greater or equals that other
.
greaterThan
public boolean greaterThan(Version other)
Returns true if this
is greater that other
.
hashCode
public int hashCode()
lesserOrEqualsThan
public boolean lesserOrEqualsThan(Version other)
Returns true if this
is lesser or equals that other
.
lesserThan
public boolean lesserThan(Version other)
Returns true if this
is lesser that other
.
toString
public String toString()
toString
public String toString(String prefix,
String separator)