Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

B32476-03

oracle.toplink
Class Version

java.lang.Object
  extended by oracle.toplink.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.

Since:
1.0,

Field Summary
static int JDK_1_3
           
static int JDK_1_4
           
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 datastructures.
 
Constructor Summary
Version()
           
 
Method Summary
static java.lang.String getBuildNumber()
           
static java.lang.String getProduct()
           
static java.lang.String getVersion()
           
static boolean isJDK13()
           
static boolean isJDK14()
           
static boolean isJDK15()
           
static void setProduct(java.lang.String ProductName)
           
static void useJDK13()
           
static void useJDK14()
           
static void useJDK15()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JDK_VERSION_NOT_SET

public static final int JDK_VERSION_NOT_SET
Description copied from class: Version
Keep track of JDK version in order to make some decisions about datastructures.

See Also:
Constant Field Values

JDK_1_3

public static final int JDK_1_3
See Also:
Constant Field Values

JDK_1_4

public static final int JDK_1_4
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()

useJDK13

public static void useJDK13()

useJDK14

public static void useJDK14()

useJDK15

public static void useJDK15()

isJDK13

public static boolean isJDK13()

isJDK14

public static boolean isJDK14()

isJDK15

public static boolean isJDK15()

Copyright © 1998, 2010, Oracle. All Rights Reserved.