com.ihr.xbrl.om.instance
Interface XBRLNumber

All Known Implementing Classes:
XBRLFractionValue, XBRLNumericValue

public interface XBRLNumber

Author:
Ignacio

Field Summary
static int DECIMALS
          Constant used by the XBRLFactNumeric.getFormat() and XBRLFactNumeric.setForamt(int) methods
static int INF
           
static int PRECISION
          Constant used by the XBRLFactNumeric.getFormat() and XBRLFactNumeric.setForamt(int) methods
 
Method Summary
 XBRLNumber clone()
           
 boolean eq(XBRLNumber vb)
           
 java.lang.String getDecimals()
          Convert precision value into decimals value if needed and returns the decimals value It is returned as a string because "INF" is a valid value.
 XBRLFactNumeric getFact()
          Access to the XBRLFactNumeric that is the container of this XBRLNumericValue.
 int getInferredPrecision()
          Gets the inferred precision for this numeric value
 int hashCode()
           
 boolean isBlank()
          true if this XBRLNumericValue has no value assigned
 XBRLNumber multiply(double weight)
           
 boolean ne(XBRLNumber sumItem)
           
 XBRLNumber plus(XBRLNumber multiply)
           
 void setFact(XBRLFactNumeric factNumeric)
           
 

Field Detail

INF

static final int INF
See Also:
Constant Field Values

PRECISION

static final int PRECISION
Constant used by the XBRLFactNumeric.getFormat() and XBRLFactNumeric.setForamt(int) methods

See Also:
Constant Field Values

DECIMALS

static final int DECIMALS
Constant used by the XBRLFactNumeric.getFormat() and XBRLFactNumeric.setForamt(int) methods

See Also:
Constant Field Values
Method Detail

getFact

XBRLFactNumeric getFact()
Access to the XBRLFactNumeric that is the container of this XBRLNumericValue.

It may be null

Returns:
XBRLFactNumeric or null

isBlank

boolean isBlank()
true if this XBRLNumericValue has no value assigned

Returns:
the bBlank

getInferredPrecision

int getInferredPrecision()
Gets the inferred precision for this numeric value

Returns:
integer

getDecimals

java.lang.String getDecimals()
Convert precision value into decimals value if needed and returns the decimals value It is returned as a string because "INF" is a valid value.

Returns:
String

setFact

void setFact(XBRLFactNumeric factNumeric)
Parameters:
factNumeric -

hashCode

int hashCode()
Overrides:
hashCode in class java.lang.Object

clone

XBRLNumber clone()
Returns:

eq

boolean eq(XBRLNumber vb)
Parameters:
vb -
Returns:

multiply

XBRLNumber multiply(double weight)
Parameters:
weight -
Returns:

plus

XBRLNumber plus(XBRLNumber multiply)
Parameters:
multiply -
Returns:

ne

boolean ne(XBRLNumber sumItem)
Parameters:
sumItem -
Returns:


Copyright 2006-2009 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa