|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.codehaus.modello.model.Version
A version string is on the form
Field Summary
static VersionINFINITE
private shortmajor
private shortmicro
private shortminor
Constructor Summary
Version(java.lang.String version)
Method Summary
booleanequals(java.lang.Object object)
intgetMajor()
intgetMicro()
intgetMinor()
booleangreaterOrEqualsThan(Version other)
Returns true if this is greater or equals that other.
booleangreaterThan(Version other)
Returns true if this is greater that other.
inthashCode()
booleaninside(VersionRange range)
booleanlesserOrEqualsThan(Version other)
Returns true if this is lesser or equals that other.
booleanlesserThan(Version other)
Returns true if this is lesser that other.
java.lang.StringtoString()
java.lang.StringtoString(java.lang.String prefix,
java.lang.String separator)
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Field Detail
INFINITE
public static final Version INFINITE
major
private short major
minor
private short minor
micro
private short micro
Constructor Detail
Version
public Version(java.lang.String version)
Method Detail
getMajor
public int getMajor()
getMinor
public int getMinor()
getMicro
public int getMicro()
greaterThan
public boolean greaterThan(Version other)
this is greater that other.
other -
greaterOrEqualsThan
public boolean greaterOrEqualsThan(Version other)
this is greater or equals that other.
other -
lesserThan
public boolean lesserThan(Version other)
this is lesser that other.
other -
lesserOrEqualsThan
public boolean lesserOrEqualsThan(Version other)
this is lesser or equals that other.
other -
inside
public boolean inside(VersionRange range)
equals
public boolean equals(java.lang.Object object)
hashCode
public int hashCode()
toString
public java.lang.String toString()
toString
public java.lang.String toString(java.lang.String prefix,
java.lang.String separator)
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD