| java.lang.Object net.infonode.util.ProductVersion
ProductVersion | public class ProductVersion implements Serializable(Code) | | A class that represents a product version
author: $Author: jesper $ version: $Revision: 1.3 $ |
Constructor Summary | |
public | ProductVersion(int major, int minor, int patch) |
Method Summary | |
public int | getMajor() Gets the major version number, i.e. | public int | getMinor() Gets the minor version number, i.e. | public int | getPatch() Gets the patch version number, i.e. | public String | toString() |
ProductVersion | public ProductVersion(int major, int minor, int patch)(Code) | | Constructs a product version object
Parameters: major - Major version number Parameters: minor - Minor version number Parameters: patch - Patch version number |
getMajor | public int getMajor()(Code) | | Gets the major version number, i.e.
the number X in version X.0.0
Major version number |
getMinor | public int getMinor()(Code) | | Gets the minor version number, i.e.
the number X in version 0.X.0
Minor version number |
getPatch | public int getPatch()(Code) | | Gets the patch version number, i.e.
the number X in version 0.0.X
Minor version number |
toString | public String toString()(Code) | | Gets the version as string
Version as string |
|
|