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

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.data.ConditionFormulaType
      extended by com.crystaldecisions.sdk.occa.report.data.TopNConditionFormulaType

public final class TopNConditionFormulaType
extends ConditionFormulaType

This class contains constants that specify the condition formula type for Top N sorting.


Field Summary
static int _topNCount
           Indicates that the formula specifies the number of groups to be sorted.
static TopNConditionFormulaType topNCount
           A TopNConditionFormulaType that indicates that the formula specifies the number of groups to be sorted.
 
Method Summary
static TopNConditionFormulaType from_int(int i)
           Returns the TopNConditionFormulaType corresponding to the specified int.
static TopNConditionFormulaType from_string(java.lang.String sVal)
          Converts a directory item from a String to a value.
 java.lang.String toString()
           Returns the String value of this TopNConditionFormulaType object.
 int value()
           Returns the int value of this TopNConditionFormulaType object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_topNCount

public static final int _topNCount

Indicates that the formula specifies the number of groups to be sorted.

See Also:
Constant Field Values

topNCount

public static final TopNConditionFormulaType topNCount

A TopNConditionFormulaType that indicates that the formula specifies the number of groups to be sorted.

Method Detail

from_int

public static final TopNConditionFormulaType from_int(int i)

Returns the TopNConditionFormulaType corresponding to the specified int.

Parameters:
i - The int value of the desired TopNConditionFormulaType.
Returns:
The TopNConditionFormulaType corresponding to the specified int.

from_string

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

Converts a directory item from a String to a value.

Parameters:
sVal - The String value that you want to convert from.
Returns:
A TopNConditionFormulaType object.

toString

public java.lang.String toString()

Returns the String value of this TopNConditionFormulaType object.

Overrides:
toString in class java.lang.Object
Returns:
The String value of this TopNConditionFormulaType object.

value

public int value()

Returns the int value of this TopNConditionFormulaType object.

Overrides:
value in class ConditionFormulaType
Returns:
The int value of this TopNConditionFormulaType object.