com.businessobjects.rebean.wi
Class SortType

java.lang.Object
  extended by com.businessobjects.rebean.wi.SortType
All Implemented Interfaces:
EnumItem, java.io.Serializable

public final class SortType
extends java.lang.Object
implements java.io.Serializable, EnumItem

Warning: This class is no longer functional from the SAP BusinessObjects 4.0 release onwards.

Represents all possible sort types.

See Also:
BlockSort.createSortElement(ReportExpression, SortType), SortElement, Serialized Form

Field Summary
static int _ASCENDING
          int value of ASCENDING.value()
static int _DESCENDING
          int value of DESCENDING.value()
static int _NONE
          int value of NONE.value()
static SortType ASCENDING
          Represents the ascending sort type.
static SortType DESCENDING
          Represents the descending sort type.
static SortType NONE
          Represents the default sort type.
 
Method Summary
static SortType fromInt(int value)
          Returns a SortType instance corresponding to value, or null when value does not correspond to any SortType
 java.lang.String toString()
          Returns a String representation of this sort type (for debug purposes)
 int value()
          Returns the int value of this sort type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_NONE

public static final int _NONE
int value of NONE.value()

See Also:
Constant Field Values

_ASCENDING

public static final int _ASCENDING
int value of ASCENDING.value()

See Also:
Constant Field Values

_DESCENDING

public static final int _DESCENDING
int value of DESCENDING.value()

See Also:
Constant Field Values

NONE

public static final SortType NONE
Represents the default sort type.


ASCENDING

public static final SortType ASCENDING
Represents the ascending sort type.


DESCENDING

public static final SortType DESCENDING
Represents the descending sort type.

Method Detail

value

public int value()
Returns the int value of this sort type

Specified by:
value in interface EnumItem
Returns:
the int value of this sort type

toString

public java.lang.String toString()
Returns a String representation of this sort type (for debug purposes)

Overrides:
toString in class java.lang.Object
Returns:
a String representation of this sort type (for debug purposes)

fromInt

public static SortType fromInt(int value)
Returns a SortType instance corresponding to value, or null when value does not correspond to any SortType

Returns:
an SortType instance corresponding to value, or null when value does not correspond to any SortType