Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.4.0)

E12063-05

oracle.dss.util
Interface NumberFormatType

All Superinterfaces:
NumberFormat

public interface NumberFormatType
extends NumberFormat

See Also:
NUMBER_FORMAT_TYPE_BIBEANS, NUMBER_FORMAT_TYPE_OEO, NUMBER_FORMAT_TYPE_ORACLE

Field Summary
static java.lang.String NUMBER_FORMAT_TYPE_BIBEANS
          The BIBeans number format type.
static java.lang.String NUMBER_FORMAT_TYPE_OEO
          The Oracle Express Objects (OEO) number format type.
static java.lang.String NUMBER_FORMAT_TYPE_ORACLE
          The Oracle number format type.
 
Method Summary
 java.lang.String getNumberFormatType()
          Retrieves the number format type associated with the number format string.
 void setNumberFormat(java.lang.String strNumberFormatString, java.lang.String strNumberFormatType)
          Specifies how a number should be formatted based on its number format type and associated number format string.
 void setNumberFormatType(java.lang.String strNumberFormatType)
          Specifies the number format type associated with the number format string.
 
Methods inherited from interface oracle.dss.util.NumberFormat
getNumberFormatString, setNumberFormatString
 

Field Detail

NUMBER_FORMAT_TYPE_OEO

static final java.lang.String NUMBER_FORMAT_TYPE_OEO
The Oracle Express Objects (OEO) number format type. The number format String represents an OEO number format mask in the following format: "number format; positive format; negative format; scale; chars-to-use", For example, "0; $1; -1; /3; $=$; .=.;,=," would format seven million dollars as $7,000.

See Also:
Constant Field Values

NUMBER_FORMAT_TYPE_ORACLE

static final java.lang.String NUMBER_FORMAT_TYPE_ORACLE
The Oracle number format type. The number format String represents an Oracle number format mask, as described in the Oracle9i SQL Reference Release 1 (9.0.1), Format Models specification.

See Also:
Constant Field Values

NUMBER_FORMAT_TYPE_BIBEANS

static final java.lang.String NUMBER_FORMAT_TYPE_BIBEANS
The BIBeans number format type. The number format String represents a BIBeans number format mask, which is an extension of the Oracle9i SQL Reference Release 1 (9.0.1), Format Model.

See Also:
Constant Field Values
Method Detail

setNumberFormatType

void setNumberFormatType(java.lang.String strNumberFormatType)
Specifies the number format type associated with the number format string.

Parameters:
strNumberFormatType - A String that represents the type of number format string.
See Also:
NUMBER_FORMAT_TYPE_BIBEANS, NUMBER_FORMAT_TYPE_OEO, NUMBER_FORMAT_TYPE_ORACLE, NumberFormat.setNumberFormatString(java.lang.String)

setNumberFormat

void setNumberFormat(java.lang.String strNumberFormatString,
                     java.lang.String strNumberFormatType)
Specifies how a number should be formatted based on its number format type and associated number format string.

Parameters:
strNumberFormatString - A String value which contains the number format mask.
strNumberFormatType - A String that represents the type of number format string.
See Also:
NUMBER_FORMAT_TYPE_BIBEANS, NUMBER_FORMAT_TYPE_OEO, NUMBER_FORMAT_TYPE_ORACLE, NumberFormat.setNumberFormatString(java.lang.String)

getNumberFormatType

java.lang.String getNumberFormatType()
Retrieves the number format type associated with the number format string.

Returns:
String which is the number format type being used.
See Also:
NUMBER_FORMAT_TYPE_BIBEANS, NUMBER_FORMAT_TYPE_OEO, NUMBER_FORMAT_TYPE_ORACLE, NumberFormat.getNumberFormatString()

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.4.0)

E12063-05

Copyright © 1997, 2011, Oracle. All rights reserved.