com.crystaldecisions.sdk.occa.report.data
Class ParameterSortMethod

java.lang.Object
  extended bycom.crystaldecisions.sdk.occa.report.data.ParameterSortMethod

public final class ParameterSortMethod
extends java.lang.Object

This class contains constants that specify how the parameters are sorted. Use IParameterField to get and set the sort method.


Field Summary
static int _basedOnDescription
          Indicates sorting based on descriptions.
static int _basedOnValue
          Indicates sorting based on values.
static ParameterSortMethod basedOnDescription
          Indicates that parameters are sorted based on their descriptions.
static ParameterSortMethod basedOnValue
          Indicates that parameters are sorted based on their values.
 
Method Summary
static ParameterSortMethod from_int(int i)
          Converts a parameter sort method from an int to a value.
static ParameterSortMethod from_string(java.lang.String sVal)
          Converts the parameter sort method to a String.
 java.lang.String toString()
          Converts the parameter sort method to a String.
 int value()
          Returns the value for the parameter sort method.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_basedOnValue

public static final int _basedOnValue

Indicates sorting based on values.

See Also:
Constant Field Values

_basedOnDescription

public static final int _basedOnDescription

Indicates sorting based on descriptions.

See Also:
Constant Field Values

basedOnValue

public static final ParameterSortMethod basedOnValue

Indicates that parameters are sorted based on their values.


basedOnDescription

public static final ParameterSortMethod basedOnDescription

Indicates that parameters are sorted based on their descriptions.

Method Detail

from_int

public static final ParameterSortMethod from_int(int i)

Converts a parameter sort method from an int to a value.

Parameters:
i - The int value that you want to convert from.
Returns:
The ParameterSortMethod corresponding to the specified value.

from_string

public static final ParameterSortMethod from_string(java.lang.String sVal)

Converts the parameter sort method to a String.

Parameters:
sVal - The String value of the desired ParameterSortMethod.
Returns:
The parameter sort method as a String.

toString

public java.lang.String toString()

Converts the parameter sort method to a String.

Returns:
The parameter sort method as a String.

value

public int value()

Returns the value for the parameter sort method.

Returns:
The value of the parameter sort method as an int.