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()
getVersionString
public static java.lang.String getVersionString()
getProduct
public static java.lang.String getProduct()
setProduct
public static void setProduct(java.lang.String ProductName)
getVersion
public static java.lang.String getVersion()
getQualifier
public static java.lang.String getQualifier()
getBuildNumber
public static java.lang.String getBuildNumber()
getBuildDate
public static java.lang.String getBuildDate()
getBuildTime
public static java.lang.String getBuildTime()
getBuildRevision
public static java.lang.String getBuildRevision()
getBuildType
public static java.lang.String getBuildType()
getJDKVersion
public static int getJDKVersion()
- INTERNAL:
Return the JDK version we are using.
useJDK15
public static void useJDK15()
isJDK15
public static boolean isJDK15()
printVersion
public static void printVersion()
main
public static void main(java.lang.String[] args)