com.crystaldecisions.sdk.occa.report.definition
Class CurrencySymbolType

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.definition.CurrencySymbolType

public final class CurrencySymbolType
extends java.lang.Object

This class is used to specify how to display the currency symbol.


Field Summary
static int _fixedSymbol
           Currency symbol is placed in first (that is, far left) position of the field.
static int _floatingSymbol
           Currency symbol is prefixed to the amount.
static int _noSymbol
           No currency symbol is displayed.
static CurrencySymbolType fixedSymbol
           A CurrencySymbolType object that specifies the currency symbol is placed in first (that is, far left) position of the field.
static CurrencySymbolType floatingSymbol
           A CurrencySymbolType object that specifies the currency symbol is prefixed to the amount.
static CurrencySymbolType noSymbol
           A CurrencySymbolType object that specifies no currency symbol is displayed.
 
Method Summary
static CurrencySymbolType from_int(int i)
           Returns the CurrencySymbolType object corresponding to the specified value.
static CurrencySymbolType from_string(java.lang.String sVal)
           Returns the CurrencySymbolType object corresponding to the specified type.
 java.lang.String toString()
           Returns the String value of this CurrencySymbolType object.
 int value()
           Returns the int value of this CurrencySymbolType object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_noSymbol

public static final int _noSymbol

No currency symbol is displayed.

See Also:
Constant Field Values

_fixedSymbol

public static final int _fixedSymbol

Currency symbol is placed in first (that is, far left) position of the field.

See Also:
Constant Field Values

_floatingSymbol

public static final int _floatingSymbol

Currency symbol is prefixed to the amount.

See Also:
Constant Field Values

noSymbol

public static final CurrencySymbolType noSymbol

A CurrencySymbolType object that specifies no currency symbol is displayed.


fixedSymbol

public static final CurrencySymbolType fixedSymbol

A CurrencySymbolType object that specifies the currency symbol is placed in first (that is, far left) position of the field.


floatingSymbol

public static final CurrencySymbolType floatingSymbol

A CurrencySymbolType object that specifies the currency symbol is prefixed to the amount.

Method Detail

from_int

public static final CurrencySymbolType from_int(int i)

Returns the CurrencySymbolType object corresponding to the specified value.

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

from_string

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

Returns the CurrencySymbolType object corresponding to the specified type.

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

toString

public java.lang.String toString()

Returns the String value of this CurrencySymbolType object.

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

value

public int value()

Returns the int value of this CurrencySymbolType object.

Returns:
The int value of this CurrencySymbolType object.