| 
 | Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--oracle.dss.util.format.BaseViewFormat
Contains format properties for numbers.
| Field Summary | |
| static int | DATATYPE_BOOLEANData type: boolean. | 
| static int | DATATYPE_DATEData type: Date. | 
| static int | DATATYPE_DOUBLEData type: double. | 
| static int | DATATYPE_FLOATData type: float. | 
| static int | DATATYPE_INTData type: integer. | 
| static int | DATATYPE_LONGData type: long. | 
| static int | DATATYPE_SHORTData type: short. | 
| static int | DATATYPE_STRINGData type: String. | 
| static int | DATATYPE_TIMEData type: Time. | 
| static int | DATATYPE_TIMESTAMPData type: Timestamp. | 
| static java.lang.String | DEFAULT_CURRENCY_SYMBOLCurrency symbol default: "$". | 
| static boolean | DEFAULT_LEADING_ZEROLeading zero default: true. | 
| static int | DEFAULT_NEG_CUR_FMTNegative currency format default: "($1)". | 
| static int | DEFAULT_NEG_NUM_FMTNegative number format default: "(1)". | 
| static java.lang.String | DEFAULT_NULL_STRINGNull string default: " ". | 
| static int | DEFAULT_NUM_TYPENumber type default: a general number. | 
| static int | DEFAULT_POS_CUR_FMTPositive currency format default: "$1". | 
| static int | DEFAULT_POS_NUM_FMTPositive number format default: "1". | 
| static java.lang.String | DEFAULT_SCALE_DOWN_BILLIONS_STRINGScale down to billions default: "B". | 
| static java.lang.String | DEFAULT_SCALE_DOWN_MILLIONS_STRINGScale down to millions default: "M". | 
| static java.lang.String | DEFAULT_SCALE_DOWN_QUADRILLIONS_STRINGScale down to quadrillions default: "Q". | 
| static java.lang.String | DEFAULT_SCALE_DOWN_THOUSANDS_STRINGScale down to thousands default: "K". | 
| static java.lang.String | DEFAULT_SCALE_DOWN_TRILLIONS_STRINGScale down to trillions default: "T". | 
| static int | DEFAULT_SCALE_FACTORScale factor default: none. | 
| static int | NEG_CURFMT_CUR_NEG_NUMNegative currency format: "$-1". | 
| static int | NEG_CURFMT_CUR_NUM_NEGNegative currency format: "$1-". | 
| static int | NEG_CURFMT_NEG_CUR_NUMNegative currency format: "-$1". | 
| static int | NEG_CURFMT_NEG_CUR_SPAC_NUMNegative currency format: "-$ 1". | 
| static int | NEG_CURFMT_NEG_NUM_CURNegative currency format: "(-1$)". | 
| static int | NEG_CURFMT_NEG_NUM_SPAC_CURNegative currency format: "-1 $". | 
| static int | NEG_CURFMT_NUM_CUR_NEGNegative currency format: "1$-". | 
| static int | NEG_CURFMT_NUM_NEG_CURNegative currency format: "1-$". | 
| static int | NEG_CURFMT_NUM_SPAC_CUR_NEGNegative currency format: "1 $-". | 
| static int | NEG_CURFMT_OP_CUR_NUM_CPNegative currency format: "($1)". | 
| static int | NEG_CURFMT_OP_NUM_CUR_CPNegative currency format: "(1$)". | 
| static int | NEG_NUMFMT_NEG_NUMNegative number format: "-1". | 
| static int | NEG_NUMFMT_NUMNegative number format: "1". | 
| static int | NEG_NUMFMT_NUM_NEGNegative number format: "1-". | 
| static int | NEG_NUMFMT_OP_NUM_CPNegative number format: "(1)". | 
| static int | NUMTYPE_CURRENCYNumber type: currency. | 
| static int | NUMTYPE_GENERALNumber type: general. | 
| static int | NUMTYPE_PERCENTNumber type: percent. | 
| static int | OEO_PATTERN_STRFormat String type: Oracle Express Objects (OEO) Number Format Mask The number format string represents a traditional OLAP-formatted Stringin the following format: | 
| static int | ORACLE_PATTERN_STRFormat String type: Oracle RDBMS Number Format Mask The number format string represents a standard Oracle RDBMS number format mask. | 
| static int | POS_CURFMT_CUR_NUMPositive currency format: "$1". | 
| static int | POS_CURFMT_CUR_NUM_POSPositive currency format: "$1+". | 
| static int | POS_CURFMT_CUR_SPAC_NUMPositive currency format: "$ 1". | 
| static int | POS_CURFMT_NUM_CURPositive currency format: "1$". | 
| static int | POS_CURFMT_NUM_CUR_POSPositive currency format: "1$+". | 
| static int | POS_CURFMT_NUM_POS_CURPositive currency format: "1+$". | 
| static int | POS_CURFMT_NUM_SPAC_CURPositive currency format: "1 $". | 
| static int | POS_CURFMT_NUM_SPAC_CUR_POSPositive currency format: "1 $+". | 
| static int | POS_CURFMT_POS_CUR_NUMPositive currency format: "+$1". | 
| static int | POS_CURFMT_POS_CUR_SPAC_NUMPositive currency format: "+$ 1". | 
| static int | POS_CURFMT_POS_NUM_CURPositive currency format: "+1$". | 
| static int | POS_CURFMT_POS_NUM_SPAC_CURPositive currency format: "+1 $". | 
| static int | POS_NUMFMT_NUMPositive number format: "1". | 
| static int | POS_NUMFMT_NUM_POSPositive number format: "1+". | 
| static int | POS_NUMFMT_POS_NUMPositive number format: "+1". | 
| static int | SCALEFACTOR_BILLIONSScale factor: billions. | 
| static int | SCALEFACTOR_MILLIONSScale factor: millions. | 
| static int | SCALEFACTOR_NONEScale factor: none. | 
| static int | SCALEFACTOR_QUADRILLIONSScale factor: quadrillions. | 
| static int | SCALEFACTOR_THOUSANDSScale factor: thousands. | 
| static int | SCALEFACTOR_TRILLIONSScale factor: trillions. | 
| static int | UNKNOWN_PATTERN_STRFormat String type: Unknown Number Format Mask. | 
| Constructor Summary | |
| BaseViewFormat()Constructor that uses default ViewFormatvalues. | |
| BaseViewFormat(int numberType, char thousandSeparator, char decimalSeparator, java.lang.String currencySymbol, boolean leadingZero, int decimalDigit, int posNumFmt, int negNumFmt, int posCurFmt, int negCurFmt, int scaleFactor, java.lang.String scaleDownThousands, java.lang.String scaleDownMillions, java.lang.String scaleDownBillions, java.lang.String scaleDownTrillions, java.lang.String scaleDownQuadrillions, java.lang.String dateFormat)Constructor that sets individual ViewFormatproperties. | |
| BaseViewFormat(java.lang.String strNumberFormatString, int nNumberFormatType)Constructor that specifies how a number should be formatted, based on the specified format mask and type. | |
| Method Summary | |
|  java.lang.String | BooleanToString(boolean bValue)Generates a Stringrepresentation of aBooleanvalue. | 
|  void | clearUsedBits()Sets all of the "used" ViewFormatproperties tofalse. | 
|  java.lang.Object | clone()Clones this ViewFormatobject. | 
|  java.lang.String | DateToString(java.sql.Date dateValue)Generates a Stringrepresentation of aDatevalue. | 
|  java.lang.String | DoubleToString(double dValue)Generates a Stringrepresentation of adoublevalue. | 
|  boolean | equals(java.lang.Object o)Indicates whether the specified object is equivalent to this ViewFormatobject. | 
|  java.lang.String | FloatToString(float fValue)Generates a Stringrepresentation of afloatvalue. | 
|  java.lang.String | getCurrencySymbol()Retrieves the character or Stringthat indicates a currency value. | 
|  int | getDecimalDigit()Retrieves the number of digits that appear to the right of the decimal in a number. | 
|  char | getDecimalSeparator()Retrieves the character or Stringthat separates the integer and decimal parts of numbers. | 
|  java.lang.String | getJavaDateFormat()Retrieves the Java date format for this ViewFormat. | 
|  int | getNegCurFmt()Retrieves the character or Stringthat indicates a negative currency value. | 
|  int | getNegNumFmt()Retrieves the character or Stringthat indicates a negative number value. | 
|  int | getNumberType()Retrieves the type of the number, such as general, currency, or percent. | 
|  java.lang.String | getOracleDateFormat()Retrieves the Oracle date format for this ViewFormatsuch as MM/DD/YYYY or DD/MM/YYYY. | 
|  int | getPosCurFmt()Retrieves the character or Stringthat indicates a positive currency value. | 
|  int | getPosNumFmt()Retrieves the character or Stringthat indicates a positive number value. | 
|  java.lang.String | getScaleDownBillions()Retrieves the character or Stringthat represents the abbreviation for billion. | 
|  java.lang.String | getScaleDownMillions()Retrieves the character or Stringthat represents the abbreviation for million. | 
|  java.lang.String | getScaleDownQuadrillions()Retrieves the character or Stringthat represents the abbreviation for quadrillions. | 
|  java.lang.String | getScaleDownThousands()Retrieves the character or Stringthat represents the abbreviation for thousand. | 
|  java.lang.String | getScaleDownTrillions()Retrieves the character or Stringthat represents the abbreviation for trillion. | 
|  int | getScaleFactor()Retrieves the amount that a number is abbreviated. | 
|  char | getThousandSeparator()Retrieves the character or Stringthat separates thousands in number values. | 
|  void | initWithString(java.lang.String strNumberFormatString, int nNumberFormatType)Initializes this BaseViewFormatfrom a formatString. | 
|  java.lang.String | IntToString(int iValue)Formats an integer value as a String. | 
|  boolean | isAnythingOverridden()Indicates whether any of the property of this ViewFormathas been explicitly set. | 
|  boolean | isCurrencySymbolUsed()Indicates whether the CurrencySymbolproperty has been explicitly set. | 
|  boolean | isDecimalDigitUsed()Indicates whether the DecimalDigitproperty has been explicitly set. | 
|  boolean | isDecimalSeparatorUsed()Indicates whether the DecimalSeparatorproperty has been explicitly set. | 
|  boolean | isJavaDateFormatUsed()Indicates whether the JavaDateFormatproperty has been explicitly set. | 
|  boolean | isLeadingZero()Indicates whether numbers that fall between 1.0 and -1.0 are displayed with leading zeros. | 
|  boolean | isLeadingZeroUsed()Indicates whether the LeadingZeroproperty has been explicitly set. | 
|  boolean | isNegCurFmtUsed()Indicates whether the NegCurFmtproperty has been explicitly set. | 
|  boolean | isNegNumFmtUsed()Indicates whether the NegNumFmtproperty has been explicitly set. | 
|  boolean | isNumberTypeUsed()Indicates whether the NumberTypeproperty has been explicitly set. | 
|  boolean | isOracleDateFormatUsed()Indicates whether the OracleDateFormatproperty has been explicitly set. | 
|  boolean | isPercentUsed() | 
|  boolean | isPosCurFmtUsed()Indicates whether the PosCurFmtproperty has been explicitly set. | 
|  boolean | isPosNumFmtUsed()Indicates whether the PosNumFmtproperty has been explicitly set. | 
|  boolean | isScaleDownBillionsUsed()Indicates whether the ScaleDownBillionsproperty has been explicitly set. | 
|  boolean | isScaleDownMillionsUsed()Indicates whether the ScaleDownMillionsproperty has been explicitly set. | 
|  boolean | isScaleDownQuadrillionsUsed()Indicates whether the ScaleDownQuadrillionsproperty has been explicitly set. | 
|  boolean | isScaleDownThousandsUsed()Indicates whether the ScaleDownThousandsproperty has been explicitly set. | 
|  boolean | isScaleDownTrillionsUsed()Indicates whether the ScaleDownTrillionsproperty has been explicitly set. | 
|  boolean | isScaleFactorUsed()Indicates whether the ScaleFactorproperty has been explicitly set. | 
|  boolean | isThousandSeparatorUsed()Indicates whether the ThousandSeparatorproperty has been explicitly set. | 
|  java.lang.String | LongToString(long lValue)Generates a Stringrepresentation of alongvalue. | 
|  void | merge(Mergeable from)Merges the specified ViewFormatobject with this object. | 
|  java.lang.String | ObjectToString(java.lang.Object objValue)Generates a Stringrepresentation of an object. | 
|  void | setCurrencySymbol(java.lang.String sCurrencySymbol)Specifies the character or Stringthat indicates a currency value. | 
|  void | setCurrencySymbolUsed(boolean bValue)Specifies whether the CurrencySymbolproperty has been explicitly set. | 
|  void | setDecimalDigit(int iDecimalDigit)Specifies the number of digits that appear to the right of the decimal in a number. | 
|  void | setDecimalDigitUsed(boolean bValue)Specifies whether the DecimalDigitproperty has been explicitly set. | 
|  void | setDecimalSeparator(char cDecimalSeparator)Specifies the character or Stringthat separates the integer and decimal parts of numbers. | 
|  void | setDecimalSeparatorUsed(boolean bValue)Specifies whether the DecimalSeparatorproperty has been explicitly set. | 
|  void | setErrorHandler(ErrorHandler eh)Specifies the error handler for this BaseViewFormat. | 
|  void | setJavaDateFormat(java.lang.String sDateFormat)Specifies the way in which the date is displayed, such as MM/dd/yyyy, or dd/MM/yyyy. | 
|  void | setJavaDateFormatUsed(boolean bValue)Specifies whether the JavaDateFormatproperty has been explicitly set. | 
|  void | setLeadingZero(boolean bLeadingZero)Specifies whether numbers that fall between 1.0 and -1.0 are displayed with leading zeros. | 
|  void | setLeadingZeroUsed(boolean bValue)Specifies whether the LeadingZeroproperty has been explicitly set. | 
|  void | setNegCurFmt(int iNegCurFmt)Specifies the character or Stringthat indicates a negative currency value. | 
|  void | setNegCurFmtUsed(boolean bValue)Specifies whether the NegCurFmtproperty has been explicitly set. | 
|  void | setNegNumFmt(int iNegNumFmt)Specifies the character or Stringthat indicates a negative number value. | 
|  void | setNegNumFmtUsed(boolean bValue)Specifies whether the NegNumFmtproperty has been explicitly set. | 
|  void | setNumberType(int iNumberType)Specifies the type of the number, such as general, currency, or percent. | 
|  void | setNumberTypeUsed(boolean bValue)Specifies whether the NumberTypeproperty has been explicitly set. | 
|  void | setOracleDateFormat(java.lang.String sDateFormat)Specifies the way in which the oracle date is displayed, such as MM/DD/YYYY, or DD/MM/YYYY. | 
|  void | setOracleDateFormatUsed(boolean bValue)Specifies whether the OracleDateFormatproperty has been explicitly set. | 
|  void | setPosCurFmt(int iPosCurFmt)Specifies the character or Stringthat indicates a positive currency value. | 
|  void | setPosCurFmtUsed(boolean bValue)Specifies whether the PosCurFmtproperty has been explicitly set. | 
|  void | setPosNumFmt(int iPosNumFmt)Specifies the character or Stringthat indicates a positive number value. | 
|  void | setPosNumFmtUsed(boolean bValue)Specifies whether the PosNumFmtproperty has been explicitly set. | 
|  void | setScaleDownBillions(java.lang.String sValue)Specifies the character or Stringthat represents the abbreviation for billion. | 
|  void | setScaleDownBillionsUsed(boolean bValue)Specifies whether the ScaleDownBillionsproperty has been explicitly set. | 
|  void | setScaleDownMillions(java.lang.String sValue)Specifies the character or Stringthat represents the abbreviation for million. | 
|  void | setScaleDownMillionsUsed(boolean bValue)Specifies whether the ScaleDownMillionsproperty has been explicitly set. | 
|  void | setScaleDownQuadrillions(java.lang.String sValue)Specifies the character or Stringthat represents the abbreviation for quadrillion. | 
|  void | setScaleDownQuadrillionsUsed(boolean bValue)Specifies whether the ScaleDownQuadrillionsproperty has been explicitly set. | 
|  void | setScaleDownThousands(java.lang.String sValue)Specifies the character or Stringthat represents the abbreviation for thousand. | 
|  void | setScaleDownThousandsUsed(boolean bValue)Specifies whether the ScaleDownThousandsproperty has been explicitly set. | 
|  void | setScaleDownTrillions(java.lang.String sValue)Specifies the character or Stringthat represents the abbreviation for trillion. | 
|  void | setScaleDownTrillionsUsed(boolean bValue)Specifies whether the ScaleDownTrillionsproperty has been explicitly set. | 
|  void | setScaleFactor(int iScaleFactor)Specifies how much to abbreviate a number. | 
|  void | setScaleFactorUsed(boolean bValue)Specifies whether the ScaleFactorproperty has been explicitly set. | 
|  void | setThousandSeparator(char cThousandSeparator)Specifies the character or Stringthat separates thousands in number values. | 
|  void | setThousandSeparatorUsed(boolean bValue)Specifies whether the ThousandSeparatorproperty has been explicitly set. | 
|  java.lang.String | ShortToString(short sValue)Generates a Stringrepresentation of ashortvalue. | 
|  java.lang.Boolean | StringToBoolean(java.lang.String sValue)Converts a Stringinto aBooleanobject. | 
|  java.sql.Date | StringToDate(java.lang.String sValue)Converts a Stringinto aDateobject. | 
|  double | StringToDouble(java.lang.String sValue)Converts a Stringinto adoublevalue. | 
|  float | StringToFloat(java.lang.String sValue)Converts a Stringinto afloatvalue. | 
|  int | StringToInt(java.lang.String sValue)Converts a Stringinto an integer. | 
|  long | StringToLong(java.lang.String sValue)Converts a Stringinto alongvalue. | 
|  java.lang.Object | StringToObject(java.lang.String sValue, int iDataType)Converts a Stringinto an object. | 
|  short | StringToShort(java.lang.String sValue)Converts a Stringinto ashortvalue. | 
|  java.lang.String | StringToString(java.lang.String sValue)Converts a Stringinto aStringobject, through theDateclass. | 
|  java.sql.Time | StringToTime(java.lang.String sValue)Converts a Stringinto aTimeobject. | 
|  java.sql.Timestamp | StringToTimestamp(java.lang.String sValue)Converts a Stringinto aTimestampobject. | 
|  java.lang.String | TimestampToString(java.sql.Timestamp timeValue)Generates a Stringrepresentation of aTimestampvalue. | 
|  java.lang.String | TimeToString(java.sql.Time timeValue)Generates a Stringrepresentation of aTimevalue. | 
|  java.lang.String | toString()Generates a Stringrepresentation of thisViewFormat. | 
|  boolean | validateFormatString(java.lang.String strNumberFormatString, int nNumberFormatType)Validates a format Stringbefore setting its values on thisBaseViewFormat. | 
| Methods inherited from class java.lang.Object | 
| getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Methods inherited from interface oracle.dss.rules.MergeableXML | 
| getXML, setXML | 
| Field Detail | 
public static final int DEFAULT_NUM_TYPE
public static final java.lang.String DEFAULT_CURRENCY_SYMBOL
public static final boolean DEFAULT_LEADING_ZERO
true.public static final int DEFAULT_POS_NUM_FMT
public static final int DEFAULT_NEG_NUM_FMT
public static final int DEFAULT_POS_CUR_FMT
public static final int DEFAULT_NEG_CUR_FMT
public static final int DEFAULT_SCALE_FACTOR
public static final java.lang.String DEFAULT_SCALE_DOWN_THOUSANDS_STRING
public static final java.lang.String DEFAULT_SCALE_DOWN_MILLIONS_STRING
public static final java.lang.String DEFAULT_SCALE_DOWN_BILLIONS_STRING
public static final java.lang.String DEFAULT_SCALE_DOWN_TRILLIONS_STRING
public static final java.lang.String DEFAULT_SCALE_DOWN_QUADRILLIONS_STRING
public static final java.lang.String DEFAULT_NULL_STRING
public static final int DATATYPE_BOOLEAN
boolean.public static final int DATATYPE_SHORT
short.public static final int DATATYPE_INT
public static final int DATATYPE_LONG
long.public static final int DATATYPE_DOUBLE
double.public static final int DATATYPE_FLOAT
float.public static final int DATATYPE_STRING
String.public static final int DATATYPE_DATE
Date.public static final int DATATYPE_TIME
Time.public static final int DATATYPE_TIMESTAMP
Timestamp.public static final int NUMTYPE_GENERAL
public static final int NUMTYPE_CURRENCY
public static final int NUMTYPE_PERCENT
public static final int POS_NUMFMT_NUM
public static final int POS_NUMFMT_POS_NUM
public static final int POS_NUMFMT_NUM_POS
public static final int NEG_NUMFMT_OP_NUM_CP
public static final int NEG_NUMFMT_NEG_NUM
public static final int NEG_NUMFMT_NUM_NEG
public static final int NEG_NUMFMT_NUM
public static final int POS_CURFMT_CUR_NUM
public static final int POS_CURFMT_NUM_CUR
public static final int POS_CURFMT_CUR_SPAC_NUM
public static final int POS_CURFMT_NUM_SPAC_CUR
public static final int POS_CURFMT_POS_CUR_NUM
public static final int POS_CURFMT_CUR_NUM_POS
public static final int POS_CURFMT_POS_NUM_CUR
public static final int POS_CURFMT_NUM_POS_CUR
public static final int POS_CURFMT_NUM_CUR_POS
public static final int POS_CURFMT_POS_NUM_SPAC_CUR
public static final int POS_CURFMT_POS_CUR_SPAC_NUM
public static final int POS_CURFMT_NUM_SPAC_CUR_POS
public static final int NEG_CURFMT_OP_CUR_NUM_CP
public static final int NEG_CURFMT_NEG_CUR_NUM
public static final int NEG_CURFMT_CUR_NEG_NUM
public static final int NEG_CURFMT_CUR_NUM_NEG
public static final int NEG_CURFMT_OP_NUM_CUR_CP
public static final int NEG_CURFMT_NEG_NUM_CUR
public static final int NEG_CURFMT_NUM_NEG_CUR
public static final int NEG_CURFMT_NUM_CUR_NEG
public static final int NEG_CURFMT_NEG_NUM_SPAC_CUR
public static final int NEG_CURFMT_NEG_CUR_SPAC_NUM
public static final int NEG_CURFMT_NUM_SPAC_CUR_NEG
public static final int SCALEFACTOR_NONE
public static final int SCALEFACTOR_THOUSANDS
public static final int SCALEFACTOR_MILLIONS
public static final int SCALEFACTOR_BILLIONS
public static final int SCALEFACTOR_TRILLIONS
public static final int SCALEFACTOR_QUADRILLIONS
public static final int UNKNOWN_PATTERN_STR
public static final int OEO_PATTERN_STR
String in the following format: 
number format;positive format; negative format; scale; chars-to-use
The first three clauses must appear in the order that is specified. The last two clauses do not need to appear and can appear in any order after the first three clauses. For example, the following String:
0; $1; -1; /3; $=$; .=.; ,=,"Would format the number $7,000,000.00 as $7,000M.
ORACLE_PATTERN_STR, BaseViewFormat(String, int)public static final int ORACLE_PATTERN_STR
For more information, see the "Oracle9i SQL Reference Release 1 (9.0.1) Part Number A90125-01" at http://download-west.oracle.com/otndoc/oracle9i/901_doc/server.901/a90125/sql_elements4.htm.
OEO_PATTERN_STR, BaseViewFormat(String, int)| Constructor Detail | 
public BaseViewFormat()
ViewFormat values. At this point, no properties have been explicitly set.
public BaseViewFormat(int numberType,
                      char thousandSeparator,
                      char decimalSeparator,
                      java.lang.String currencySymbol,
                      boolean leadingZero,
                      int decimalDigit,
                      int posNumFmt,
                      int negNumFmt,
                      int posCurFmt,
                      int negCurFmt,
                      int scaleFactor,
                      java.lang.String scaleDownThousands,
                      java.lang.String scaleDownMillions,
                      java.lang.String scaleDownBillions,
                      java.lang.String scaleDownTrillions,
                      java.lang.String scaleDownQuadrillions,
                      java.lang.String dateFormat)
ViewFormat properties. At this point, no property values have been set.numberType - A constant that represents the type of the number, such as general, currency, date, or percent.thousandSeparator - A character that groups integral digits into sets of three.decimalSeparator - A character that separates integral and decimal digits.currencySymbol - A character or String that indicates a currency value.leadingZero - true to display the number values that fall between 1.0 and -1.0 with leading zeros, false to display them without leading zeros.decimalDigit - The number of digits that appear to the right of the decimal divider.posNumFmt - A constant that indicates a positive number.negNumFmt - A constant that indicates a negative number.posCurFmt - A constant that indicates a positive currency value.negCurFmt - A constant that indicates a negative currency value.scaleFactor - A constant that specifies the number of digits to the left to move the decimal point.scaleDownThousands - A character or String that represents the abbreviation for thousand.scaleDownMillions - A character or String that represents the abbreviation for million.scaleDownBillions - A character or String that represents the abbreviation for billion.scaleDownTrillions - A character or String that represents the abbreviation for trillion.scaleDownQuadrillions - A character or String that represents the abbreviation for quadrillion.dateFormat - The format that determines the way in which the date is displayed, such as MM/DD/YY, or DD/MM/YY.
public BaseViewFormat(java.lang.String strNumberFormatString,
                      int nNumberFormatType)
This constructor sets the properties of this ViewFormat object, according to the format string that is specified in this method. Any property that is initialized by the strNumberFormatString is marked as being used.
strNumberFormatString - A number format mask of property values for this ViewFormat object.nNumberFormatType - A constant that represents the type of format String that strNumberFormatString represents. Valid constants are listed in the See Also section.OEO_PATTERN_STR, ORACLE_PATTERN_STR| Method Detail | 
public boolean isAnythingOverridden()
ViewFormat has been explicitly set.isAnythingOverridden in interface Mergeabletrue if any property has been explicitly set, false if the properties have their original values.public java.lang.Object clone()
ViewFormat object.clone in interface MergeableViewFormat object.public void merge(Mergeable from)
ViewFormat object with this object. This method is called by the Rule classes. 
Applications should not call this method to set properties of the ViewFormat, because the view is not refreshed when this method is called. Instead, call the normal access methods to set properties of the ViewFormat. For example, to set the currency symbol, call the setCurrencySymbol method.
Alternately, set a new ViewFormat on the view.
merge in interface Mergeablefrom - The ViewFormat object that you want to merge.Rulepublic boolean equals(java.lang.Object o)
ViewFormat object. Objects are equivalent if they have the same properties explicitly set and those properties have the same values.equals in class java.lang.Objecto - The object that you want to compare with this ViewFormat object.true if they are equal, false if not, or if o is not a ViewFormat object.
public void initWithString(java.lang.String strNumberFormatString,
                           int nNumberFormatType)
BaseViewFormat from a format String. This method updates the properties of this BaseViewFormat object according to the specified format string. Any property that is initialized by the strNumberFormatString is marked as being used.strNumberFormatString - The number format mask that specifies property values for this BaseViewFormat object.nNumberFormatType - A constant that represents the type of format String that strNumberFormatString represents. Valid constants are listed in the See Also section.OEO_PATTERN_STR, ORACLE_PATTERN_STR
public boolean validateFormatString(java.lang.String strNumberFormatString,
                                    int nNumberFormatType)
String before setting its values on this BaseViewFormat. This method updates the properties of this ViewFormat object according to the format string that is specified in this method. Any property that is initialized by the strNumberFormatString is marked as being used.strNumberFormatString - The number format mask that specifies property values for this BaseViewFormat object.nNumberFormatType - A constant that represents the type of format String that strNumberFormatString represents. Valid constants are listed in the See Also section.true if the format string is valid, false if it is not.OEO_PATTERN_STR, ORACLE_PATTERN_STRpublic void clearUsedBits()
ViewFormat properties to false. Immediately after you call this method, the IsAnythingOverridden method returns false.public java.lang.String toString()
String representation of this ViewFormat.toString in class java.lang.ObjectString representation of this object.public java.lang.String BooleanToString(boolean bValue)
String representation of a Boolean value.bValue - The Boolean value that you want to format as a String.String representation of bValue.public java.lang.String DateToString(java.sql.Date dateValue)
String representation of a Date value.dateValue - The date value that you want to format as a String.String representation of dateValue.public java.lang.String DoubleToString(double dValue)
String representation of a double value.dValue - The double value that you want to format as a String.String representation of dValue.public java.lang.String FloatToString(float fValue)
String representation of a float value.fValue - The float value that you want to format as a String.String representation of fValue.public java.lang.String TimeToString(java.sql.Time timeValue)
String representation of a Time value.timeValue - The time value that you want to format as a String.String representation of timeValue.public java.lang.String TimestampToString(java.sql.Timestamp timeValue)
String representation of a Timestamp value.timeValue - The time stamp value that you want to format as a String.String representation of timeValue.public java.lang.String getCurrencySymbol()
String that indicates a currency value. The default value is DEFAULT_CURRENCY_SYMBOL. The default value is used when no value has been specified.String that indicates a currency value for this ViewFormat object.DEFAULT_CURRENCY_SYMBOLpublic int getDecimalDigit()
public java.lang.String getJavaDateFormat()
ViewFormat. MM/dd/yyyy or dd/MM/yyyy. This method uses the Java date formatting mechanism. For information about valid format strings, see the documentation for the java.text.SimpleDateFormat class.SimpleDateFormatpublic java.lang.String getOracleDateFormat()
ViewFormat such as MM/DD/YYYY or DD/MM/YYYY. This method uses the Oracle date formatting mechanism. For information about valid format strings, consult your core Oracle documentation. Internal Oracle developers can find this information at http://www-st.us.oracle.com/webpages/dst/coredev/docs5/appc.html.ViewFormat uses.public char getDecimalSeparator()
String that separates the integer and decimal parts of numbers. When this property has not been specified, this method returns the minimum fraction digits from the locale.String that separates the integer and decimal parts of numbers.public boolean isLeadingZero()
true. The default value is used when no value has been explicitly set.true if the numbers that fall between 1.0 and -1.0 are displayed with leading zeros, false if they are not displayed with leading zeros.public int getNegCurFmt()
String that indicates a negative currency value. The default value is DEFAULT_NEG_CUR_FMT, which looks like this: ($1). The default value is used when no value has been specified. The constants begin with NEG_CURFMT_.DEFAULT_NEG_CUR_FMT, NEG_CURFMT_CUR_NEG_NUM, NEG_CURFMT_CUR_NUM_NEG, NEG_CURFMT_NEG_CUR_NUM, NEG_CURFMT_NEG_NUM_CUR, NEG_CURFMT_NUM_CUR_NEG, NEG_CURFMT_NUM_NEG_CUR, NEG_CURFMT_OP_CUR_NUM_CP, NEG_CURFMT_OP_NUM_CUR_CP, NEG_CURFMT_NEG_CUR_SPAC_NUM, NEG_CURFMT_NEG_NUM_SPAC_CUR, NEG_CURFMT_NUM_SPAC_CUR_NEGpublic int getNegNumFmt()
String that indicates a negative number value. The default value is DEFAULT_NEG_NUM_FMT, which looks like this: (1). The default value is used when no value has been specified. The constants begin with NEG_NUMFMT_.DEFAULT_NEG_NUM_FMT, NEG_NUMFMT_NEG_NUM, NEG_NUMFMT_NUM_NEG, NEG_NUMFMT_OP_NUM_CPpublic int getNumberType()
DEFAULT_NUM_TYPE, NUMTYPE_GENERAL, NUMTYPE_CURRENCY, NUMTYPE_PERCENTpublic int getPosCurFmt()
String that indicates a positive currency value. The default value is DEFAULT_POS_CUR_FMT, which looks like this: $1. The default value is used when no value has been specified. The constants begin wiht POS_CURFMT_.DEFAULT_POS_CUR_FMT, POS_CURFMT_CUR_NUM, POS_CURFMT_CUR_NUM_POS, POS_CURFMT_CUR_SPAC_NUM, POS_CURFMT_NUM_CUR, POS_CURFMT_NUM_CUR_POS, POS_CURFMT_NUM_POS_CUR, POS_CURFMT_NUM_SPAC_CUR, POS_CURFMT_NUM_SPAC_CUR_POS, POS_CURFMT_POS_CUR_NUM, POS_CURFMT_POS_CUR_SPAC_NUM, POS_CURFMT_POS_NUM_CUR, POS_CURFMT_POS_NUM_SPAC_CURpublic int getPosNumFmt()
String that indicates a positive number value. The default value is DEFAULT_POS_NUM_FMT. The default value is used when no format value has been specified. The constants begin with POS_NUMFMT_.DEFAULT_POS_NUM_FMT, POS_NUMFMT_NUM, POS_NUMFMT_NUM_POS, POS_NUMFMT_POS_NUMpublic java.lang.String getScaleDownBillions()
String that represents the abbreviation for billion. The default is DEFAULT_SCALE_DOWN_BILLIONS_STRING. The default value is used when no notation value has been specified.String that represents the abbreviation for billion.DEFAULT_SCALE_DOWN_BILLIONS_STRINGpublic java.lang.String getScaleDownMillions()
String that represents the abbreviation for million. The default is DEFAULT_SCALE_DOWN_MILLIONS_STRING. The default value is used when no notation value has been specified.String that represents the abbreviation for million.DEFAULT_SCALE_DOWN_MILLIONS_STRINGpublic java.lang.String getScaleDownQuadrillions()
String that represents the abbreviation for quadrillions. The default is DEFAULT_SCALE_DOWN_QUADRILLIONS_STRING. The default value is used when no notation value has been specified.String that represents the abbreviation for quadrillions.DEFAULT_SCALE_DOWN_QUADRILLIONS_STRINGpublic java.lang.String getScaleDownThousands()
String that represents the abbreviation for thousand. The default is DEFAULT_SCALE_DOWN_THOUSANDS_STRING. The default value is used when no notation value has been specified.String that represents the abbreviation for thousand.DEFAULT_SCALE_DOWN_THOUSANDS_STRINGpublic java.lang.String getScaleDownTrillions()
String that represents the abbreviation for trillion. The default is DEFAULT_SCALE_DOWN_TRILLIONS_STRING. The default value is used when no notation value has been specified.String that represents the abbreviation for trillion.DEFAULT_SCALE_DOWN_TRILLIONS_STRINGpublic int getScaleFactor()
ScaleFactor property is set to SCALEFACTOR_THOUSANDS. 
The default is DEFAULT_SCALE_FACTOR, which returns no scaling. The decimal point is not moved. The default value is used when no scale factor value has been specified.
DEFAULT_SCALE_FACTOR, SCALEFACTOR_NONE, SCALEFACTOR_THOUSANDS, SCALEFACTOR_MILLIONS, SCALEFACTOR_BILLIONS, SCALEFACTOR_TRILLIONS, SCALEFACTOR_QUADRILLIONSpublic char getThousandSeparator()
String that separates thousands in number values. When this property has not been explicitly set, this method returns the default group separator from the locale.String that separates thousands in number values.public java.lang.String IntToString(int iValue)
String.iValue - The integer value that you want to format as a String.String.public boolean isCurrencySymbolUsed()
CurrencySymbol property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.true if the property has been explicitly set, false if the property has not been explicitly set.public boolean isDecimalDigitUsed()
DecimalDigit property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.true if the property has been explicitly set, false if the property has not been explicitly set.public boolean isOracleDateFormatUsed()
OracleDateFormat property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.true if the property has been explicitly set, false if the property has not been explicitly set.public boolean isJavaDateFormatUsed()
JavaDateFormat property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.true if the property has been explicitly set, false if the property has not been explicitly set.public boolean isDecimalSeparatorUsed()
DecimalSeparator property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.true if the property has been explicitly set, false if the property has not been explicitly set.public boolean isLeadingZeroUsed()
LeadingZero property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.true if the property has been explicitly set, false if the property has not been explicitly set.public boolean isNegCurFmtUsed()
NegCurFmt property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.true if the property has been explicitly set, false if the property has not been explicitly set.public boolean isNegNumFmtUsed()
NegNumFmt property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.true if the property has been explicitly set, false if the property has not been explicitly set.public boolean isNumberTypeUsed()
NumberType property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.true if the property has been explicitly set, false if the property has not been explicitly set.public boolean isPosCurFmtUsed()
PosCurFmt property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.true if the property has been explicitly set, false if the property has not been explicitly set.public boolean isPosNumFmtUsed()
PosNumFmt property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.true if the property has been explicitly set, false if the property has not been explicitly set.public boolean isScaleDownBillionsUsed()
ScaleDownBillions property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.true if the property has been explicitly set, false if the property has not been explicitly set.public boolean isScaleDownMillionsUsed()
ScaleDownMillions property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.true if the property has been explicitly set, false if the property has not been explicitly set.public boolean isScaleDownQuadrillionsUsed()
ScaleDownQuadrillions property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.true if the property has been explicitly set, false if the property has not been explicitly set.public boolean isScaleDownThousandsUsed()
ScaleDownThousands property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.true if the property has been explicitly set, false if the property has not been explicitly set.public boolean isScaleDownTrillionsUsed()
ScaleDownTrillions property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.true if the property has been explicitly set, false if the property has not been explicitly set.public boolean isScaleFactorUsed()
ScaleFactor property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.true if the property has been explicitly set, false if the property has not been explicitly set.public boolean isThousandSeparatorUsed()
ThousandSeparator property has been explicitly set. When the return value of this method is true, the property's value will be used in the merging process.true if the property has been explicitly set, false if the property has not been explicitly set.public java.lang.String LongToString(long lValue)
String representation of a long value.lValue - The long value that you want to format as a String.String representation of lValue.public java.lang.String ObjectToString(java.lang.Object objValue)
String representation of an object. If the object type is unknown, then the object's toString method will be called. If the parameter value of this method is null, then the return value of this method will be an empty String.objValue - The object that you want to format as a String.String representation of objValue.public void setCurrencySymbol(java.lang.String sCurrencySymbol)
String that indicates a currency value. The default value is DEFAULT_CURRENCY_SYMBOL. The default value is used when no value has been specified. This method also sets the CurrencySymbolUsed property to true.String - The character or String that indicates a currency value, for this ViewFormat object.DEFAULT_CURRENCY_SYMBOLpublic void setCurrencySymbolUsed(boolean bValue)
CurrencySymbol property has been explicitly set. When the parameter value of this method is true, the property's value will be used in the merging process. The parameter value of this method is called by the setCurrencySymbol method.bValue - true if the property has been explicitly set, false if the property has not been explicitly set.public void setDecimalDigit(int iDecimalDigit)
DecimalDigitUsed property to true.iDecimalDigit - The number of digits that appear to the right of the decimal in a number.public void setDecimalDigitUsed(boolean bValue)
DecimalDigit property has been explicitly set. When the parameter value of this method is true, the property's value will be used in the merging process. The parameter value of this method is called by the setDecimalDigit method.bValue - true if the property has been explicitly set, false if the property has not been explicitly set.public void setJavaDateFormat(java.lang.String sDateFormat)
java.text.SimpleDateFormat class. 
This method also sets the DateFormatUsed property to true.
sDateFormat - A Java date format pattern that specifies the format for dates.public void setOracleDateFormat(java.lang.String sDateFormat)
This method also sets the OracleDateFormatUsed property to true.
sDateFormat - A Oracle date format pattern that specifies the format for dates.public void setJavaDateFormatUsed(boolean bValue)
JavaDateFormat property has been explicitly set. When the parameter value of this method is true, the property's value will be used in the merging process. The parameter value of this method is called by the setJavaDateFormat method.bValue - true if the property has been explicitly set, false if the property has not been explicitly set.public void setOracleDateFormatUsed(boolean bValue)
OracleDateFormat property has been explicitly set. When the parameter value of this method is true, the property's value will be used in the merging process. The parameter value of this method is called by the setOracleDateFormat method.bValue - true if the property has been explicitly set, false if the property has not been explicitly set.public void setDecimalSeparator(char cDecimalSeparator)
String that separates the integer and decimal parts of numbers. When this property has not been specified, this method returns the minimum fraction digits from the locale. This method also sets the DecimalSeparatorUsed property to true.cDecimalSeparator - The character or String that separates the integer and decimal parts of numbers.public void setDecimalSeparatorUsed(boolean bValue)
DecimalSeparator property has been explicitly set. When the parameter value of this method is true, the property's value will be used in the merging process. The parameter value of this method is called by the setDecimalSeparator method.bValue - true if the property has been explicitly set, false if the property has not been explicitly set.public void setLeadingZero(boolean bLeadingZero)
true. The default value is used when no value has been explicitly set. This method also sets the LeadingZeroUsed property to true.bLeadingZero - true to display leading zeros in front of the numbers that fall between 1.0 and -1.0, false to display them without leading zeros.public void setLeadingZeroUsed(boolean bValue)
LeadingZero property has been explicitly set. When the parameter value of this method is true, the property's value will be used in the merging process. The parameter value of this method is called by the setLeadingZero method.bValue - true if the property has been explicitly set, false if the property has not been explicitly set.public void setNegCurFmt(int iNegCurFmt)
String that indicates a negative currency value. The default value is DEFAULT_NEG_CUR_FMT, which looks like this: ($1). The default value is used when no value has been specified. The constants begin with NEG_CURFMT_. This method also sets the NegCurFmtUsed property to true.iNegCurFmt - The constant that represents a negative currency format.DEFAULT_NEG_CUR_FMT, NEG_CURFMT_CUR_NEG_NUM, NEG_CURFMT_CUR_NUM_NEG, NEG_CURFMT_NEG_CUR_NUM, NEG_CURFMT_NEG_NUM_CUR, NEG_CURFMT_NUM_CUR_NEG, NEG_CURFMT_NUM_NEG_CUR, NEG_CURFMT_OP_CUR_NUM_CP, NEG_CURFMT_OP_NUM_CUR_CP, NEG_CURFMT_NEG_CUR_SPAC_NUM, NEG_CURFMT_NEG_NUM_SPAC_CUR, NEG_CURFMT_NUM_SPAC_CUR_NEGpublic void setNegCurFmtUsed(boolean bValue)
NegCurFmt property has been explicitly set. When the parameter value of this method is true, the property's value will be used in the merging process. The parameter value of this method is called by the setNegCurFmt method.bValue - true if the property has been explicitly set, false if the property has not been explicitly set.public void setNegNumFmt(int iNegNumFmt)
String that indicates a negative number value. The default value is DEFAULT_NEG_NUM_FMT, which looks like this: (1). The default value is used when no value has been specified. The constants begin with NEG_NUMFMT_. This method also sets the NegNumFmtUsed property to true.iNegNumFmt - The constant that represents a negative number format.DEFAULT_NEG_NUM_FMT, NEG_NUMFMT_NEG_NUM, NEG_NUMFMT_NUM_NEG, NEG_NUMFMT_OP_NUM_CPpublic void setNegNumFmtUsed(boolean bValue)
NegNumFmt property has been explicitly set. When the parameter value of this method is true, the property's value will be used in the merging process. The parameter value of this method is called by the setNegNumFmt method.bValue - true if the property has been explicitly set, false if the property has not been explicitly set.public void setNumberType(int iNumberType)
NumberTypeUsed property to true.iNumberType - The constant that represents the type of the number, such as general, currency, or percent.DEFAULT_NUM_TYPE, NUMTYPE_GENERAL, NUMTYPE_CURRENCY, NUMTYPE_PERCENTpublic void setNumberTypeUsed(boolean bValue)
NumberType property has been explicitly set. When the parameter value of this method is true, the property's value will be used in the merging process. The parameter value of this method is called by the setNumberType method.bValue - true if the property has been explicitly set, false if the property has not been explicitly set.public void setPosCurFmt(int iPosCurFmt)
String that indicates a positive currency value. The default value is DEFAULT_POS_CUR_FMT, which looks like this: $1. The default value is used when no value has been specified. The constants begin with POS_CURFMT_. This method also sets the PosCurFmtUsed property to true.iPosCurFmt - The constant that represents a positive currency format.DEFAULT_POS_CUR_FMT, POS_CURFMT_CUR_NUM, POS_CURFMT_CUR_NUM_POS, POS_CURFMT_CUR_SPAC_NUM, POS_CURFMT_NUM_CUR, POS_CURFMT_NUM_CUR_POS, POS_CURFMT_NUM_POS_CUR, POS_CURFMT_NUM_SPAC_CUR, POS_CURFMT_NUM_SPAC_CUR_POS, POS_CURFMT_POS_CUR_NUM, POS_CURFMT_POS_CUR_SPAC_NUM, POS_CURFMT_POS_NUM_CUR, POS_CURFMT_POS_NUM_SPAC_CURpublic void setPosCurFmtUsed(boolean bValue)
PosCurFmt property has been explicitly set. When the parameter value of this method is true, the property's value will be used in the merging process. The parameter value of this method is called by the setPosCurFmt method.bValue - true if the property has been explicitly set, false if the property has not been explicitly set.public void setPosNumFmt(int iPosNumFmt)
String that indicates a positive number value. The default value is DEFAULT_POS_NUM_FMT. The default value is used when no format value has been specified. The constants begin with POS_NUMFMT_. This method also sets the PosNumFmtUsed property to true.iPosNumFmt - The constant that represents a positive number format.DEFAULT_POS_NUM_FMT, POS_NUMFMT_NUM, POS_NUMFMT_NUM_POS, POS_NUMFMT_POS_NUMpublic void setPosNumFmtUsed(boolean bValue)
PosNumFmt property has been explicitly set. When the parameter value of this method is true, the property's value will be used in the merging process. The parameter value of this method is called by the setPosNumFmt method.bValue - true if the property has been explicitly set, false if the property has not been explicitly set.public void setScaleDownBillions(java.lang.String sValue)
String that represents the abbreviation for billion. The default is DEFAULT_SCALE_DOWN_BILLIONS_STRING. The default value is used when no notation value has been specified. This method also sets the ScaleDownBillionsUsed property to true.sValue - The the character or String that represents the abbreviation for billion.DEFAULT_SCALE_DOWN_BILLIONS_STRINGpublic void setScaleDownBillionsUsed(boolean bValue)
ScaleDownBillions property has been explicitly set. When the parameter value of this method is true, the property's value will be used in the merging process. The parameter value of this method is called by the setScaleDownBillions method.bValue - true if the property has been explicitly set, false if the property has not been explicitly set.public void setScaleDownMillions(java.lang.String sValue)
String that represents the abbreviation for million. The default is DEFAULT_SCALE_DOWN_MILLIONS_STRING. The default value is used when no notation value has been specified. This method also sets the ScaleDownMillionsUsed property to true.sValue - The the character or String that represents the abbreviation for million.DEFAULT_SCALE_DOWN_MILLIONS_STRINGpublic void setScaleDownMillionsUsed(boolean bValue)
ScaleDownMillions property has been explicitly set. When the parameter value of this method is true, the property's value will be used in the merging process. The parameter value of this method is called by the setScaleDownMillions method.bValue - true if the property has been explicitly set, false if the property has not been explicitly set.public void setScaleDownQuadrillions(java.lang.String sValue)
String that represents the abbreviation for quadrillion. The default is DEFAULT_SCALE_DOWN_QUADRILLIONS_STRING. The default value is used when no notation value has been specified. This method also sets the ScaleDownQuadrillionsUsed property ' to true.sValue - The the character or String that represents the abbreviation for quadrillion.DEFAULT_SCALE_DOWN_QUADRILLIONS_STRINGpublic void setScaleDownQuadrillionsUsed(boolean bValue)
ScaleDownQuadrillions property has been explicitly set. When the parameter value of this method is true, the property's value will be used in the merging process. This method is called by the setScaleDownQuadrillions method.bValue - true if the property has been explicitly set, false if the property has not been explicitly set.public void setScaleDownThousands(java.lang.String sValue)
String that represents the abbreviation for thousand. The default is DEFAULT_SCALE_DOWN_THOUSANDS_STRING. The default value is used when no notation value has been specified. This method also sets the ScaleDownThousandsUsed property to true.sValue - The the character or String that represents the abbreviation for thousand.DEFAULT_SCALE_DOWN_THOUSANDS_STRINGpublic void setScaleDownThousandsUsed(boolean bValue)
ScaleDownThousands property has been explicitly set. When the parameter value of this method is true, the property's value will be used in the merging process. This method is called by the setScaleDownThousands method.bValue - true if the property has been explicitly set, false if the property has not been explicitly set.public void setScaleDownTrillions(java.lang.String sValue)
String that represents the abbreviation for trillion. The default is DEFAULT_SCALE_DOWN_TRILLIONS_STRING. The default value is used when no notation value has been specified. This method also sets the ScaleDownTrillionsUsed property to true.sValue - The the character or String that represents the abbreviation for trillion.DEFAULT_SCALE_DOWN_TRILLIONS_STRINGpublic void setScaleDownTrillionsUsed(boolean bValue)
ScaleDownTrillions property has been explicitly set. When the parameter value of this method is true, the property's value will be used in the merging process. This method is called by the setScaleDownTrillions method.bValue - true if the property has been explicitly set, false if the property has not been explicitly set.public void setScaleFactor(int iScaleFactor)
ScaleFactor to SCALEFACTOR_THOUSANDS, the view displays the number as thousands, and a number such as 153,000 appears as 153K (assuming the default value of the ScaleDownThousands property). 
The default is DEFAULT_SCALE_FACTOR, which specifies no scaling. The default value is used when no scale factor value has been specified. This method also sets the ScaleFactorUsed property to true.
iScaleFactor - A constant that represents the scale by which to abbreviate a number. Constants are defined in this class, and they generally begin with the prefix SCALEFACTOR_.DEFAULT_SCALE_FACTOR, SCALEFACTOR_NONE, SCALEFACTOR_THOUSANDS, SCALEFACTOR_MILLIONS, SCALEFACTOR_BILLIONS, SCALEFACTOR_TRILLIONS, SCALEFACTOR_QUADRILLIONSpublic void setScaleFactorUsed(boolean bValue)
ScaleFactor property has been explicitly set. When the parameter value of this method is true, the property's value will be used in the merging process. This method is called by the setScaleFactor method.bValue - true if the property has been explicitly set, false if the property has not been explicitly set.public void setThousandSeparator(char cThousandSeparator)
String that separates thousands in number values. When this property has not been explicitly set, this ViewFormat uses the default group separator from the locale. This method also sets the ThousandsSeparatorUsed property to true.cThousandSeparator - The character or String that separates thousands in number values.public void setThousandSeparatorUsed(boolean bValue)
ThousandSeparator property has been explicitly set. When the parameter value of this method is true, the property's value will be used in the merging process. This method is called by the setThousandSeparator method.bValue - true if the property has been explicitly set, false if the property has not been explicitly set.public java.lang.String ShortToString(short sValue)
String representation of a short value.sValue - The short value that you want to format as a String.String representation of sValue.public java.lang.Boolean StringToBoolean(java.lang.String sValue)
String into a Boolean object.sValue - The String that you want to convert into a Boolean object.Boolean for sValue.public java.sql.Date StringToDate(java.lang.String sValue)
String into a Date object.sValue - The String that you want to convert into a Date object.Date for sValue.
public double StringToDouble(java.lang.String sValue)
                      throws java.text.ParseException
String into a double value.sValue - The String that you want to convert into a double value.double for sValue.java.text.ParseException - If sValue does not represent a double value.
public float StringToFloat(java.lang.String sValue)
                    throws java.text.ParseException
String into a float value.sValue - The String that you want to convert into a float value.float for sValue.java.text.ParseException - If sValue does not represent a float value.
public int StringToInt(java.lang.String sValue)
                throws java.text.ParseException
String into an integer.sValue - The String that you want to convert into an integer.int for sValue.java.text.ParseException - If sValue does not represent an integer.
public long StringToLong(java.lang.String sValue)
                  throws java.text.ParseException
String into a long value.sValue - The String that you want to convert into a long value.long for sValuejava.text.ParseException - If sValue does not represent a long value.
public java.lang.Object StringToObject(java.lang.String sValue,
                                       int iDataType)
String into an object.sValue - The String that you want to convert into an object.iDataType - A constant that identifies the data type that you want the returned object to have. Valid constants are listed in the See Also section.sValue, or null if sValue cannot be converted into an object.DATATYPE_BOOLEAN, DATATYPE_DATE, DATATYPE_DOUBLE, DATATYPE_FLOAT, DATATYPE_INT, DATATYPE_LONG, DATATYPE_SHORT, DATATYPE_STRING, DATATYPE_TIME, DATATYPE_TIMESTAMP
public short StringToShort(java.lang.String sValue)
                    throws java.text.ParseException
String into a short value.sValue - The String that you want to convert into a short value.short value for sValue.java.text.ParseException - If sValue does not represent a short value.public java.lang.String StringToString(java.lang.String sValue)
String into a String object, through the Date class.sValue - The String that you want to convert into a String object through the Date class.String after it has been converted into a String object through the Date class.public java.sql.Time StringToTime(java.lang.String sValue)
String into a Time object.sValue - The String that you want to convert into a Time object.Time object for sValue.public java.sql.Timestamp StringToTimestamp(java.lang.String sValue)
String into a Timestamp object.sValue - The String that you want to convert into a Timestamp object.Timestamp object for sValue.public void setErrorHandler(ErrorHandler eh)
BaseViewFormat. Call this method specify an error handler for this BaseViewFormat if you want to be notified of errors before you set this BaseViewFormat on a view or calculation. When you use this BaseViewFormat in a view, the view uses its own error handler instead of the error handler that is specified for this BaseViewFormat.eh - The error handler to use.public boolean isPercentUsed()
| 
 | Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||