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

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

public final class FormulaSyntax
extends java.lang.Object

This class defines the syntax of a formula.


Field Summary
static int _basic
           Visual Basic syntax.
static int _crystal
           Crystal syntax.
static int _SQL
           SQL syntax.
static FormulaSyntax basic
           A FormulaSyntax object that specifies this formula uses Visual Basic syntax.
static FormulaSyntax crystal
           A FormulaSyntax object that specifies this formula uses Crystal syntax.
static FormulaSyntax SQL
           A FormulaSyntax object that specifies this formula uses SQL syntax.
 
Method Summary
static FormulaSyntax from_int(int i)
           Returns the FormulaSyntax corresponding to the specified value.
static FormulaSyntax from_string(java.lang.String sVal)
           Returns the FormulaSyntax corresponding to the specified type.
 java.lang.String toString()
           Returns the String value of this FormulaSyntax object.
 int value()
           Returns the int value of this FormulaSyntax object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_SQL

public static final int _SQL

SQL syntax.

See Also:
Constant Field Values

_crystal

public static final int _crystal

Crystal syntax.

See Also:
Constant Field Values

_basic

public static final int _basic

Visual Basic syntax.

See Also:
Constant Field Values

SQL

public static final FormulaSyntax SQL

A FormulaSyntax object that specifies this formula uses SQL syntax.


crystal

public static final FormulaSyntax crystal

A FormulaSyntax object that specifies this formula uses Crystal syntax.


basic

public static final FormulaSyntax basic

A FormulaSyntax object that specifies this formula uses Visual Basic syntax.

Method Detail

from_int

public static final FormulaSyntax from_int(int i)

Returns the FormulaSyntax corresponding to the specified value.

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

from_string

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

Returns the FormulaSyntax corresponding to the specified type.

Parameters:
sVal - The String value of the desired FormulaSyntax object.
Returns:
The FormulaSyntax corresponding to the specified type.

toString

public java.lang.String toString()

Returns the String value of this FormulaSyntax object.

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

value

public int value()

Returns the int value of this FormulaSyntax object.

Returns:
The int value of this FormulaSyntax object.