Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


oracle.javatools.db.extension
Enum DatabaseMatcher.Comparison

java.lang.Object
  extended by java.lang.Enum<DatabaseMatcher.Comparison>
      extended by oracle.javatools.db.extension.DatabaseMatcher.Comparison

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DatabaseMatcher.Comparison>
Enclosing class:
DatabaseMatcher

public static enum DatabaseMatcher.Comparison
extends java.lang.Enum<DatabaseMatcher.Comparison>

Used to indicate how the version should be matched.


Enum Constant Summary
EXACT
          Version must match exactly.
MAXIMUM
          Version is a maximum version (i.e.
MINIMUM
          Version is a minimum version (i.e.

 

Method Summary
static DatabaseMatcher.Comparison valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DatabaseMatcher.Comparison[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.

 

Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

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

 

Enum Constant Detail

EXACT

public static final DatabaseMatcher.Comparison EXACT
Version must match exactly.

MINIMUM

public static final DatabaseMatcher.Comparison MINIMUM
Version is a minimum version (i.e. will match the same and anything later).

MAXIMUM

public static final DatabaseMatcher.Comparison MAXIMUM
Version is a maximum version (i.e. will match the same and anything earlier).

Method Detail

values

public static DatabaseMatcher.Comparison[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (DatabaseMatcher.Comparison c : DatabaseMatcher.Comparison.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DatabaseMatcher.Comparison valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


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