org.eclipse.persistence
Class Version
java.lang.Object
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,
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
Version
public Version()
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()