EclipseLink1.0 - 20080707 API Reference

org.eclipse.persistence
Class Version

java.lang.Object
  extended by org.eclipse.persistence.Version

public class Version
extends java.lang.Object

This class stores variables for the version and build numbers that are used in printouts and exceptions.

Author:
Eric Gwin
Since:
1.0,

Field Summary
static int JDK_1_5
           
static int JDK_VERSION
           
static int JDK_VERSION_NOT_SET
          Keep track of JDK version in order to make some decisions about data structures.
 
Constructor Summary
Version()
           
 
Method Summary
static java.lang.String getBuildNumber()
           
static int getJDKVersion()
          INTERNAL: Return the JDK version we are using.
static java.lang.String getProduct()
           
static java.lang.String getVersion()
           
static boolean isJDK15()
           
static void setProduct(java.lang.String ProductName)
           
static void useJDK15()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JDK_VERSION_NOT_SET

public static final int JDK_VERSION_NOT_SET
Keep track of JDK version in order to make some decisions about data structures.

See Also:
Constant Field Values

JDK_1_5

public static final int JDK_1_5
See Also:
Constant Field Values

JDK_VERSION

public static int JDK_VERSION
Constructor Detail

Version

public Version()
Method Detail

getProduct

public static java.lang.String getProduct()

setProduct

public static void setProduct(java.lang.String ProductName)

getVersion

public static java.lang.String getVersion()

getBuildNumber

public static java.lang.String getBuildNumber()

getJDKVersion

public static int getJDKVersion()
INTERNAL: Return the JDK version we are using.


useJDK15

public static void useJDK15()

isJDK15

public static boolean isJDK15()

EclipseLink1.0 - 20080707 API Reference