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

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

public final class BooleanCondition
extends java.lang.Object

This object defines how data is grouped if the group is sorted by a boolean field.


Field Summary
static int _anyChange
          Specifies that data is grouped on any change.
static int _onChangeToNo
          Specifies that data is grouped on change to No.
static int _onChangeToYes
          Specifies that data is grouped on change to Yes.
static int _onEveryNo
          Specifies that data is grouped on every no.
static int _onEveryYes
          Specifies that data is grouped on every yes.
static int _onNextIsNo
          Specifies that data is grouped when the next is no.
static int _onNextIsYes
          Specifies that data is grouped when the next is yes.
static BooleanCondition anyChange
          Specifies that data is grouped on any change.
static BooleanCondition onChangeToNo
          Specifies that data is grouped on change to No.
static BooleanCondition onChangeToYes
          Specifies that data is grouped on change to Yes.
static BooleanCondition onEveryNo
          Specifies that data is grouped on every no.
static BooleanCondition onEveryYes
          Specifies that data is grouped on every yes.
static BooleanCondition onNextIsNo
          Specifies that data is grouped when the next is no.
static BooleanCondition onNextIsYes
          Specifies that data is grouped when the next is yes.
 
Method Summary
static BooleanCondition from_int(int i)
          Converts a boolean condition from an int to a BooleanCondition.
static BooleanCondition from_string(java.lang.String sVal)
          Converts a String to a BooleanCondition
 java.lang.String toString()
          Converts a BooleanCondition to a String
 int value()
          Returns the value for the boolean condition.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_anyChange

public static final int _anyChange

Specifies that data is grouped on any change.

See Also:
Constant Field Values

_onChangeToYes

public static final int _onChangeToYes

Specifies that data is grouped on change to Yes.

See Also:
Constant Field Values

_onChangeToNo

public static final int _onChangeToNo

Specifies that data is grouped on change to No.

See Also:
Constant Field Values

_onEveryYes

public static final int _onEveryYes

Specifies that data is grouped on every yes.

See Also:
Constant Field Values

_onEveryNo

public static final int _onEveryNo

Specifies that data is grouped on every no.

See Also:
Constant Field Values

_onNextIsYes

public static final int _onNextIsYes

Specifies that data is grouped when the next is yes.

See Also:
Constant Field Values

_onNextIsNo

public static final int _onNextIsNo

Specifies that data is grouped when the next is no.

See Also:
Constant Field Values

anyChange

public static final BooleanCondition anyChange

Specifies that data is grouped on any change.


onChangeToYes

public static final BooleanCondition onChangeToYes

Specifies that data is grouped on change to Yes.


onChangeToNo

public static final BooleanCondition onChangeToNo

Specifies that data is grouped on change to No.


onEveryYes

public static final BooleanCondition onEveryYes

Specifies that data is grouped on every yes.


onEveryNo

public static final BooleanCondition onEveryNo

Specifies that data is grouped on every no.


onNextIsYes

public static final BooleanCondition onNextIsYes

Specifies that data is grouped when the next is yes.


onNextIsNo

public static final BooleanCondition onNextIsNo

Specifies that data is grouped when the next is no.

Method Detail

from_int

public static final BooleanCondition from_int(int i)

Converts a boolean condition from an int to a BooleanCondition.

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

from_string

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

Converts a String to a BooleanCondition

Parameters:
sVal - The type of the desired BooleanCondition object.
Returns:
The boolean condition as a String.

toString

public java.lang.String toString()

Converts a BooleanCondition to a String

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

value

public int value()

Returns the value for the boolean condition.

Returns:
The value of the boolean condition as an int.