Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.7.3)

E10653-11


oracle.jbo.version
Class VersionDef

java.lang.Object
  extended by oracle.jbo.version.VersionDef

All Implemented Interfaces:
java.lang.Comparable<VersionDef>

public class VersionDef
extends java.lang.Object
implements java.lang.Comparable<VersionDef>
Since:
12.1.3.1.0

Nested Class Summary
static class VersionDef.Lifecycle
           

 

Method Summary
 int compareTo(VersionDef anotherVersion)
          Compares this VersionDef with the specified VersionDef.
 java.lang.String getDisplayName()
           
 VersionDef.Lifecycle getLifecycle()
           
 VersionDef getNextVersion()
          Gets the first supported version that is later than this version.
 VersionDef getPreviousVersion()
          Gets the first supported version that is earlier than this version.
 boolean isSupported()
           

 

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

 

Method Detail

getDisplayName

public java.lang.String getDisplayName()

getLifecycle

public VersionDef.Lifecycle getLifecycle()

isSupported

public boolean isSupported()

getPreviousVersion

public VersionDef getPreviousVersion()
Gets the first supported version that is earlier than this version. This method will skip all versions that are not supported.
Returns:
the previous supported version.

getNextVersion

public VersionDef getNextVersion()
Gets the first supported version that is later than this version. This method will skip all versions that are not supported.
Returns:
the next supported version.

compareTo

public int compareTo(VersionDef anotherVersion)
Compares this VersionDef with the specified VersionDef.
Specified by:
compareTo in interface java.lang.Comparable<VersionDef>
Parameters:
anotherVersion - the VersionDef to be compared
Returns:
the value 0 if the specified version is equal to this version; a value less than 0 if this version is before the specified version; and a value greater than 0 if this version is after the specified version.
Throws:
java.lang.NullPointerException - if anotherVersion is null

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.7.3)

E10653-11


Copyright © 1997, 2014, Oracle. All rights reserved.