org.globus.wsrf.utils
Class Version

java.lang.Object
  extended byorg.globus.wsrf.utils.Version

public class Version
extends java.lang.Object

This class contains version information of the Java WS Core product. The version number is composed as MAJOR.MINOR.MICRO.


Field Summary
static int MAJOR
          The major release number
static int MICRO
          The micro release number
static int MINOR
          The minor release number
 
Constructor Summary
Version()
           
 
Method Summary
static int getMajor()
          Returns the major release number.
static int getMicro()
          Returns the micro level.
static int getMinor()
          Returns the minor release number.
static java.lang.String getVersion()
          Returns the current version as string in the form MAJOR.MINOR.MICRO.
static void main(java.lang.String[] args)
          Prints the version of the Java WS Core to the standard output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAJOR

public static final int MAJOR
The major release number

See Also:
Constant Field Values

MINOR

public static final int MINOR
The minor release number

See Also:
Constant Field Values

MICRO

public static final int MICRO
The micro release number

See Also:
Constant Field Values
Constructor Detail

Version

public Version()
Method Detail

getVersion

public static java.lang.String getVersion()
Returns the current version as string in the form MAJOR.MINOR.MICRO.


getMajor

public static int getMajor()
Returns the major release number.

Returns:
the major release

getMinor

public static int getMinor()
Returns the minor release number.

Returns:
the minor release number

getMicro

public static int getMicro()
Returns the micro level.

Returns:
the micro level

main

public static void main(java.lang.String[] args)
Prints the version of the Java WS Core to the standard output.