|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VersionNumber
Wrapper object which encapsulates the information used to distinguish different versions of an object.
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
Compares this object with the specified object for order. |
boolean |
equals(java.lang.Object inVersionNumber)
Returns true if the supplied object is equal to this object. |
java.lang.String |
getAsString()
Returns a string representation of the version number. |
short |
getMajorNumber()
Returns the major version number. |
short |
getMinorNumber()
Returns the minor version number. |
boolean |
isGreaterThan(VersionNumber inVersion)
Returns true if this version object is greater than the supplied version number. |
boolean |
isLessThan(VersionNumber inVersion)
Returns true if this version is less than the supplied version. |
Method Detail |
---|
short getMajorNumber()
short getMinorNumber()
java.lang.String getAsString()
boolean isGreaterThan(VersionNumber inVersion)
inVersion
- The version number that should be compared with
the version number of this object.
boolean isLessThan(VersionNumber inVersion)
inVersion
- The version number that should be compared with
the version number of this object.
boolean equals(java.lang.Object inVersionNumber)
equals
in class java.lang.Object
inVersionNumber
- The version number object that should be
compared with the version number of this object.
int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
Comparable#compareTo(Object)}
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |