|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.sdk.occa.report.data.FormulaSyntax
public final class FormulaSyntax
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 |
---|
public static final int _SQL
SQL syntax.
public static final int _crystal
Crystal syntax.
public static final int _basic
Visual Basic syntax.
public static final FormulaSyntax SQL
A FormulaSyntax
object that specifies this formula uses SQL syntax.
public static final FormulaSyntax crystal
A FormulaSyntax
object that specifies this formula uses Crystal syntax.
public static final FormulaSyntax basic
A FormulaSyntax
object that specifies this formula uses Visual Basic syntax.
Method Detail |
---|
public static final FormulaSyntax from_int(int i)
Returns the FormulaSyntax
corresponding to the specified value.
i
- The int
value of the desired FormulaSyntax
object.
FormulaSyntax
corresponding to the specified value.public static final FormulaSyntax from_string(java.lang.String sVal)
Returns the FormulaSyntax
corresponding to the specified type.
sVal
- The String
value of the desired FormulaSyntax
object.
FormulaSyntax
corresponding to the specified type.public java.lang.String toString()
Returns the String
value of this FormulaSyntax
object.
toString
in class java.lang.Object
String
value of this FormulaSyntax
object.public int value()
Returns the int
value of this FormulaSyntax
object.
int
value of this FormulaSyntax
object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |