public interface NumericItem extends Item
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDecimals()
Get the decimals attribute for this item.
|
java.lang.String |
getPrecision()
Get the precision attribute for this item.
|
Unit |
getUnit()
Presumes that there is at most one XBRL instance in each document in the data store.
|
java.lang.String |
getUnitId() |
boolean |
hasDecimals()
Returns true if the fact has a decimals attribute.
|
boolean |
hasPrecision()
Returns true if the fact has a precision attribute.
|
getContext, getContextId
getConcept, getInstance, getTuple, isFraction, isNil, isNumeric, isTuple
appendElementSchemeXPointer, appendID, getAllChildren, getAllChildrenIndices, getAncestorOrSelf, getChild, getChildren, getChildren, getChildrenIndices, getDataRootElement, getElementSchemeXPointerExpression, getIDXPointerExpression, getLabels, getLabels, getLabels, getLabelsWithLanguage, getLabelsWithLanguageAndResourceRole, getLabelsWithLanguageAndResourceRoleAndLinkRole, getLabelsWithResourceRole, getLanguage, getLanguage, getLanguageName, getLanguageName, getLocalname, getLocalnameFromQName, getNamespace, getNamespaceFromQName, getParent, getParentElement, getParentIndex, getPrefixFromQName, getReferences, getReferencesWithLanguage, getReferencesWithLanguageAndResourceRoleAndLinkRole, getReferencesWithLanguageAndRole, getReferencesWithResourceRole, getReferencingLocators, getSequenceToParentElement, getSequenceToParentElementAsString, getSimpleLinks, getURI, getXPath, getXPointerExpression, isAncestorOf, isChild, isNewFragment, isRoot, setParentIndex, setSequenceToParentElement, setURI
appendMetadataElement, equals, getBuilder, getDocumentNode, getIndex, getMetaAttribute, getMetadataRootElement, getStore, getType, hashCode, hasMetaAttribute, isa, isa, removeMetaAttribute, removeMetadataElement, serialize, serialize, serialize, setBuilder, setIndex, setMetaAttribute, setResource, setStore, updateInStore
Unit getUnit() throws XBRLException
XBRLException
java.lang.String getUnitId() throws XBRLException
XBRLException
- if the unit reference is missing.java.lang.String getDecimals() throws XBRLException
XBRLException
java.lang.String getPrecision() throws XBRLException
XBRLException
boolean hasPrecision() throws XBRLException
XBRLException
boolean hasDecimals() throws XBRLException
XBRLException