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

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

public class FormulaNullTreatment
extends java.lang.Object

This class contains constants that specify how to treat nulls in a formula.


Field Summary
static int _asDefaultValue
           Specifies that nulls should be treated as default values in a formula.
static int _asException
           Specifies that nulls should be treated as exceptions in a formula.
static FormulaNullTreatment asDefaultValue
           A FormulaNullTreatment that specifies that nulls should be treated as default values in a formula.
static FormulaNullTreatment asException
           A FormulaNullTreatment that specifies that nulls should be treated as exceptions in a formula.
 
Method Summary
static FormulaNullTreatment from_int(int i)
           Returns the FormulaNullTreatment corresponding to the specified int.
static FormulaNullTreatment 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 FormulaNullTreatment object.
 int value()
           Returns the int value of this FormulaNullTreatment object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_asException

public static final int _asException

Specifies that nulls should be treated as exceptions in a formula.

See Also:
Constant Field Values

_asDefaultValue

public static final int _asDefaultValue

Specifies that nulls should be treated as default values in a formula.

See Also:
Constant Field Values

asException

public static final FormulaNullTreatment asException

A FormulaNullTreatment that specifies that nulls should be treated as exceptions in a formula.


asDefaultValue

public static final FormulaNullTreatment asDefaultValue

A FormulaNullTreatment that specifies that nulls should be treated as default values in a formula.

Method Detail

from_int

public static final FormulaNullTreatment from_int(int i)

Returns the FormulaNullTreatment corresponding to the specified int.

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

from_string

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

toString

public java.lang.String toString()

Returns the String value of this FormulaNullTreatment object.

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

value

public int value()

Returns the int value of this FormulaNullTreatment object.

Returns:
The int value of this FormulaNullTreatment object.