|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.infonode.util.ProductVersion
A class that represents a product version
Constructor Summary | |
ProductVersion(int major,
int minor,
int patch)
Constructs a product version object |
Method Summary | |
int |
getMajor()
Gets the major version number, i.e. |
int |
getMinor()
Gets the minor version number, i.e. |
int |
getPatch()
Gets the patch version number, i.e. |
String |
toString()
Gets the version as string |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ProductVersion(int major, int minor, int patch)
major
- Major version numberminor
- Minor version numberpatch
- Patch version numberMethod Detail |
public int getMajor()
public int getMinor()
public int getPatch()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |