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

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

public final class AlertConditionFormulaType
extends ConditionFormulaType

This class contains constants that specify the condition formula type for alert message.


Field Summary
static int _alertCondition
           Indicates that the formula specifies the condition of an alert to be triggered.
static int _alertMessage
           Indicates that the formula specifies the message of a triggered alert.
static AlertConditionFormulaType alertCondition
           A AlertConditionFormulaType that indicates that the condition of an alert to be triggered.
static AlertConditionFormulaType alertMessage
           A AlertConditionFormulaType that indicates that the message of a triggered alert.
 
Method Summary
static AlertConditionFormulaType from_int(int i)
           Returns the AlertConditionFormulaType corresponding to the specified int.
static AlertConditionFormulaType 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 AlertConditionFormulaType object.
 int value()
           Returns the int value of this AlertConditionFormulaType object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_alertMessage

public static final int _alertMessage

Indicates that the formula specifies the message of a triggered alert.

See Also:
Constant Field Values

_alertCondition

public static final int _alertCondition

Indicates that the formula specifies the condition of an alert to be triggered.

See Also:
Constant Field Values

alertMessage

public static final AlertConditionFormulaType alertMessage

A AlertConditionFormulaType that indicates that the message of a triggered alert.


alertCondition

public static final AlertConditionFormulaType alertCondition

A AlertConditionFormulaType that indicates that the condition of an alert to be triggered.

Method Detail

from_int

public static final AlertConditionFormulaType from_int(int i)

Returns the AlertConditionFormulaType corresponding to the specified int.

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

from_string

public static final AlertConditionFormulaType 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 AlertConditionFormulaType object.

toString

public java.lang.String toString()

Returns the String value of this AlertConditionFormulaType object.

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

value

public int value()

Returns the int value of this AlertConditionFormulaType object.

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