public interface XBRLNumber
| Modifier and Type | Field and Description |
|---|---|
static int |
DECIMALS
Constant used by the XBRLFactNumeric.getFormat() and XBRLFactNumeric.setForamt(int) methods
|
static int |
INF
The Constant INF.
|
static int |
PRECISION
Constant used by the XBRLFactNumeric.getFormat() and XBRLFactNumeric.setForamt(int) methods
|
| Modifier and Type | Method and Description |
|---|---|
XBRLNumber |
clone()
Clone.
|
boolean |
eq(XBRLNumber vb)
Eq.
|
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.
|
java.lang.String |
getFriendlyName(int flags,
LabelsProvider lp)
Gets the friendly name.
|
int |
getInferredPrecision()
Gets the inferred precision for this numeric value.
|
int |
hashCode()
Hash code.
|
boolean |
isBlank()
true if this XBRLNumericValue has no value assigned .
|
XBRLNumber |
multiply(double weight)
Multiply.
|
boolean |
ne(XBRLNumber sumItem)
Ne.
|
XBRLNumber |
plus(XBRLNumber multiply)
Plus.
|
void |
setFact(XBRLFactNumeric factNumeric)
Sets the fact.
|
static final int INF
static final int PRECISION
static final int DECIMALS
XBRLFactNumeric getFact()
It may be null
boolean isBlank()
int getInferredPrecision()
java.lang.String getDecimals()
void setFact(XBRLFactNumeric factNumeric)
factNumeric - the new factint hashCode()
hashCode in class java.lang.ObjectXBRLNumber clone()
boolean eq(XBRLNumber vb)
vb - the vbXBRLNumber multiply(double weight)
weight - the weightXBRLNumber plus(XBRLNumber multiply)
multiply - the multiplyboolean ne(XBRLNumber sumItem)
sumItem - the sum itemjava.lang.String getFriendlyName(int flags,
LabelsProvider lp)
flags - XMLFragment.HIDE_COMMON_ACCURACY can be used to remove suffixeslp - (can be null, it is not used)