Item class

Item class

An item is an element in the substitution group for the XBRL item element. It contains the value of the simple fact and a reference to the context (and unit for numeric items) needed to correctly interpret that fact.

Inheritance: ItemFact

The Item type exposes the following members:

Constructors

ConstructorDescription
Item(concept)Initializes a new instance of Item class.

Properties

PropertyDescription
nameGets or sets the qualified name of the fact.
idGets or sets the id of the fact.
context_refGets or sets the reference to the Context.
unit_refGets or sets the reference to the Unit.
precisionGets or sets the precision.
infinite_precisionGets or sets whether this item has infinite precision.
decimalsGets or sets the decimal.
infinite_decimalsGets or sets whether this item has infinite decimal.
nil_specifiedGets or sets whether this item is nil.
valueGets or sets the value.
schema_conceptGets the concept.

Methods

MethodDescription
is_text_block()Check whether this item is a text block.

See Also