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

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

public final class CurrencyPositionFormat
extends java.lang.Object

This class is used to specify the position of the currency symbol for negative values.


Field Summary
static int _leadingCurrencyInsideNegative
           Display negative currency using leading symbol inside parenthesis.
static int _leadingCurrencyOutsideNegative
           Display negative currency using leading symbol outside parenthesis.
static int _trailingCurrencyInsideNegative
           Display negative currency using trailing symbol inside parenthesis.
static int _trailingCurrencyOutsideNegative
           Display negative currency using trailing symbol outside parenthesis.
static CurrencyPositionFormat leadingCurrencyInsideNegative
           A CurrencyPositionFormat object that specifies to display negative currency using leading symbol inside parenthesis.
static CurrencyPositionFormat leadingCurrencyOutsideNegative
           A CurrencyPositionFormat object that specifies to display negative currency using leading symbol outside parenthesis.
static CurrencyPositionFormat trailingCurrencyInsideNegative
           A CurrencyPositionFormat object that specifies to display negative currency using trailing symbol inside parenthesis.
static CurrencyPositionFormat trailingCurrencyOutsideNegative
           A CurrencyPositionFormat object that specifies to display negative currency using trailing symbol outside parenthesis.
 
Method Summary
static CurrencyPositionFormat from_int(int i)
           Returns the CurrencyPositionFormat object corresponding to the specified value.
static CurrencyPositionFormat from_string(java.lang.String sVal)
           Returns the CurrencyPositionFormat object corresponding to the specified type.
 java.lang.String toString()
           Returns the String value of this CurrencyPositionFormat object.
 int value()
           Returns the int value of this CurrencyPositionFormat object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_leadingCurrencyInsideNegative

public static final int _leadingCurrencyInsideNegative

Display negative currency using leading symbol inside parenthesis. For example ($123).

See Also:
Constant Field Values

_leadingCurrencyOutsideNegative

public static final int _leadingCurrencyOutsideNegative

Display negative currency using leading symbol outside parenthesis. For example $(123).

See Also:
Constant Field Values

_trailingCurrencyInsideNegative

public static final int _trailingCurrencyInsideNegative

Display negative currency using trailing symbol inside parenthesis. For example (123$).

See Also:
Constant Field Values

_trailingCurrencyOutsideNegative

public static final int _trailingCurrencyOutsideNegative

Display negative currency using trailing symbol outside parenthesis. For example (123)$.

See Also:
Constant Field Values

leadingCurrencyInsideNegative

public static final CurrencyPositionFormat leadingCurrencyInsideNegative

A CurrencyPositionFormat object that specifies to display negative currency using leading symbol inside parenthesis. For example ($123).


leadingCurrencyOutsideNegative

public static final CurrencyPositionFormat leadingCurrencyOutsideNegative

A CurrencyPositionFormat object that specifies to display negative currency using leading symbol outside parenthesis. For example $(123).


trailingCurrencyInsideNegative

public static final CurrencyPositionFormat trailingCurrencyInsideNegative

A CurrencyPositionFormat object that specifies to display negative currency using trailing symbol inside parenthesis. For example (123$).


trailingCurrencyOutsideNegative

public static final CurrencyPositionFormat trailingCurrencyOutsideNegative

A CurrencyPositionFormat object that specifies to display negative currency using trailing symbol outside parenthesis. For example (123)$.

Method Detail

from_int

public static final CurrencyPositionFormat from_int(int i)

Returns the CurrencyPositionFormat object corresponding to the specified value.

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

from_string

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

Returns the CurrencyPositionFormat object corresponding to the specified type.

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

toString

public java.lang.String toString()

Returns the String value of this CurrencyPositionFormat object.

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

value

public int value()

Returns the int value of this CurrencyPositionFormat object.

Returns:
The int value of this CurrencyPositionFormat object.