Oracle Data Mining Java API Reference
10g Release 1 (10.1)

B12276-01

oracle.dmt.odm
Class ODMVersion

java.lang.Object
  |
  +--oracle.dmt.odm.ODMVersion

public class ODMVersion
extends java.lang.Object

The class ODMVersion provides the product and version information of Oracle10i Data Mining Java API.


Field Summary
static java.lang.String COMPONENT_NAME
           
static java.lang.String PRODUCT_NAME
           
static java.lang.String RELEASE_STATUS
           
static java.lang.String VERSION
           

 

Constructor Summary
ODMVersion()
          Constructor

 

Method Summary
 int areVersionsCompatible(java.lang.String clientVer, java.lang.String serverVer)
          Compare the top 4 levels (3 levels if PRODUCTION) of client and server version.
 java.lang.String getComponentName()
          Retrieve the product component name.
 java.lang.String getFullVersion()
          getFullVersion - returns the full string
 java.lang.String getProductName()
          Retrieve the product name.
 java.lang.String getReleaseStatus()
          getReleaseStatus - returns the release status
 java.lang.String getVersion()
          Retrieve the product version.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

PRODUCT_NAME

public static final java.lang.String PRODUCT_NAME
See Also:
Constant Field Values

COMPONENT_NAME

public static final java.lang.String COMPONENT_NAME
See Also:
Constant Field Values

VERSION

public static final java.lang.String VERSION
See Also:
Constant Field Values

RELEASE_STATUS

public static final java.lang.String RELEASE_STATUS
See Also:
Constant Field Values
Constructor Detail

ODMVersion

public ODMVersion()
Constructor
Method Detail

areVersionsCompatible

public final int areVersionsCompatible(java.lang.String clientVer,
                                       java.lang.String serverVer)
Compare the top 4 levels (3 levels if PRODUCTION) of client and server version. The version should have this format: Oracle Data Mining (ODM) Version 10.1.0.0.0 - PRODUCTION
Parameters:
clientVer - the full client version
serverVer - the full server version
Returns:
0 if they are compatible, > 0 if clientVer is newer than the serverVer, < 0 if clientVer is older than the serverVer -99 = invalid version format

getProductName

public final java.lang.String getProductName()
Retrieve the product name.
Returns:
the product name

getComponentName

public final java.lang.String getComponentName()
Retrieve the product component name.
Returns:
the product component name

getVersion

public final java.lang.String getVersion()
Retrieve the product version.
Returns:
the product version

getReleaseStatus

public java.lang.String getReleaseStatus()
getReleaseStatus - returns the release status

getFullVersion

public final java.lang.String getFullVersion()
getFullVersion - returns the full string

Copyright © 2003 Oracle Corporation. All Rights Reserved.