org.openoces.ooapi
Class Version

java.lang.Object
  extended byorg.openoces.ooapi.Version

public class Version
extends java.lang.Object

This class can be used to extract the version of OOAPI being used.

Author:
Carsten Raskgaard

Constructor Summary
Version()
           
 
Method Summary
static int getMajorVersion()
          Returns the major version part of the full version
static int getMinorVersion()
          Returns the minor version part of the full version
static int getPatchLevel()
          Returns the patch level part of the full version
static java.lang.String getVersion()
          Returns the version of OpenOcesAPI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Version

public Version()
Method Detail

getVersion

public static java.lang.String getVersion()
Returns the version of OpenOcesAPI

Returns:
the full version of OpenOcesAPI on the form <major>.<minor>.<patchlevel>

getMajorVersion

public static int getMajorVersion()
Returns the major version part of the full version

Returns:
the major version

getMinorVersion

public static int getMinorVersion()
Returns the minor version part of the full version

Returns:
the minor version

getPatchLevel

public static int getPatchLevel()
Returns the patch level part of the full version

Returns:
the patch level