|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.infonode.util.ProductVersion
public class ProductVersion
A class that represents a product version
| Field Summary | |
|---|---|
private int |
major
|
private int |
minor
|
private int |
patch
|
private static long |
serialVersionUID
|
| 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. |
java.lang.String |
toString()
Gets the version as string |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private int major
private int minor
private int patch
| Constructor Detail |
|---|
public ProductVersion(int major,
int minor,
int patch)
major - Major version numberminor - Minor version numberpatch - Patch version number| Method Detail |
|---|
public int getMajor()
public int getMinor()
public int getPatch()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||