EclipseLink 1.1.4, build 'v20100812-r7860' 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 getBuildDate()
           
static java.lang.String getBuildNumber()
           
static java.lang.String getBuildRevision()
           
static java.lang.String getBuildTime()
           
static java.lang.String getBuildType()
           
static int getJDKVersion()
          INTERNAL: Return the JDK version we are using.
static java.lang.String getProduct()
           
static java.lang.String getQualifier()
           
static java.lang.String getVersion()
           
static java.lang.String getVersionString()
           
static boolean isJDK15()
           
static void main(java.lang.String[] args)
           
static void printVersion()
           
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

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)

EclipseLink 1.1.4, build 'v20100812-r7860' API Reference