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

B12276-01

oracle.dmt.odm
Class SortOrder

java.lang.Object
  |
  +--oracle.dmt.odm.Enum
        |
        +--oracle.dmt.odm.SortOrder
All Implemented Interfaces:
java.io.Serializable

public class SortOrder
extends Enum

The enumeration class SortOrder provides options for ordering of objects.

The semantics of the value are as follows:

Since:
10.1.0
See Also:
Serialized Form

Field Summary
static SortOrder ascending
          The objects to be sorted are ordered in ascending order of the given item of the object.
static SortOrder descending
          The objects to be sorted are ordered in descending order of the given item of the object.

 

Method Summary
static SortOrder getInstance(int id)
          Returns an instance of SortOrder enumeration that corresponds to the specified identifier.
static SortOrder getInstance(java.lang.String name)
          Returns an instance of SortOrder enumeration that corresponds to the specified name.
static SortOrder[] list()
          Returns a list of all instances of SortOrder enumerations.
static java.lang.String[] listNames()
          Returns a list of the values available in enumeration SortOrder.

 

Methods inherited from class oracle.dmt.odm.Enum
getEnum, getID, isEqual

 

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

 

Field Detail

ascending

public static final SortOrder ascending
The objects to be sorted are ordered in ascending order of the given item of the object.

descending

public static final SortOrder descending
The objects to be sorted are ordered in descending order of the given item of the object.
Method Detail

listNames

public static java.lang.String[] listNames()
Returns a list of the values available in enumeration SortOrder.
Returns:
The values of the enumeration

list

public static SortOrder[] list()
Returns a list of all instances of SortOrder enumerations.
Returns:
The instances of SortOrder

getInstance

public static SortOrder getInstance(java.lang.String name)
Returns an instance of SortOrder enumeration that corresponds to the specified name.
Parameters:
name - The value of the enumeration
Returns:
An instance of SortOrder which contains a value that matches to the specified name.

getInstance

public static SortOrder getInstance(int id)
Returns an instance of SortOrder enumeration that corresponds to the specified identifier.
Parameters:
id - The identifier of the enumeration.
Returns:
An instance of SortOrder which contains a value that matches to the specified identifier.

Copyright © 2003 Oracle Corporation. All Rights Reserved.