xbrl.UnitsRegistry.Unit

This class represents the <utr:unit> element in the Units Registry utr.xml file.

Nested classes: xbrl.UnitsRegistry.Unit.BaseStandard, xbrl.UnitsRegistry.Unit.ConversionContent, xbrl.UnitsRegistry.Unit.ConversionPresentation, xbrl.UnitsRegistry.Unit.Definition, xbrl.UnitsRegistry.Unit.DenominatorItemType, xbrl.UnitsRegistry.Unit.ItemType, xbrl.UnitsRegistry.Unit.ItemTypeDate, xbrl.UnitsRegistry.Unit.NsDenominatorItemType, xbrl.UnitsRegistry.Unit.NsItemType, xbrl.UnitsRegistry.Unit.NsNumeratorItemType, xbrl.UnitsRegistry.Unit.NsUnit, xbrl.UnitsRegistry.Unit.NumeratorItemType, xbrl.UnitsRegistry.Unit.Status, xbrl.UnitsRegistry.Unit.Symbol, xbrl.UnitsRegistry.Unit.UnitId, xbrl.UnitsRegistry.Unit.UnitName, xbrl.UnitsRegistry.Unit.VersionDate

class xbrl.UnitsRegistry.Unit

Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a NotImplementedError exception.

Attributes

xbrl.UnitsRegistry.Unit.base_standard

Returns an object of type xbrl.UnitsRegistry.Unit.BaseStandard which represents the <utr:baseStandard> child element, or None if absent.

xbrl.UnitsRegistry.Unit.conversion_content

Returns an object of type xbrl.UnitsRegistry.Unit.ConversionContent which represents the <utr:conversionContent> child element, or None if absent.

xbrl.UnitsRegistry.Unit.conversion_presentation

Returns an object of type xbrl.UnitsRegistry.Unit.ConversionPresentation which represents the <utr:conversionPresentation> child element, or None if absent.

xbrl.UnitsRegistry.Unit.definition

Returns an object of type xbrl.UnitsRegistry.Unit.Definition which represents the <utr:definition> child element, or None if absent.

xbrl.UnitsRegistry.Unit.denominator_item_type

Returns an object of type xbrl.UnitsRegistry.Unit.DenominatorItemType which represents the <utr:denominatorItemType> child element, or None if absent.

xbrl.UnitsRegistry.Unit.element

Returns an xml.ElementInformationItem object which represents the <utr:unit> element information item.

xbrl.UnitsRegistry.Unit.id

Returns the value of the ‘id’ attribute as a string.

xbrl.UnitsRegistry.Unit.item_type

Returns an object of type xbrl.UnitsRegistry.Unit.ItemType which represents the <utr:itemType> child element, or None if absent.

xbrl.UnitsRegistry.Unit.item_type_date

Returns an object of type xbrl.UnitsRegistry.Unit.ItemTypeDate which represents the <utr:itemTypeDate> child element, or None if absent.

xbrl.UnitsRegistry.Unit.ns_denominator_item_type

Returns an object of type xbrl.UnitsRegistry.Unit.NsDenominatorItemType which represents the <utr:nsDenominatorItemType> child element, or None if absent.

xbrl.UnitsRegistry.Unit.ns_item_type

Returns an object of type xbrl.UnitsRegistry.Unit.NsItemType which represents the <utr:nsItemType> child element, or None if absent.

xbrl.UnitsRegistry.Unit.ns_numerator_item_type

Returns an object of type xbrl.UnitsRegistry.Unit.NsNumeratorItemType which represents the <utr:nsNumeratorItemType> child element, or None if absent.

xbrl.UnitsRegistry.Unit.ns_unit

Returns an object of type xbrl.UnitsRegistry.Unit.NsUnit which represents the <utr:nsUnit> child element, or None if absent.

xbrl.UnitsRegistry.Unit.numerator_item_type

Returns an object of type xbrl.UnitsRegistry.Unit.NumeratorItemType which represents the <utr:numeratorItemType> child element, or None if absent.

xbrl.UnitsRegistry.Unit.status

Returns an object of type xbrl.UnitsRegistry.Unit.Status which represents the <utr:status> child element, or None if absent.

xbrl.UnitsRegistry.Unit.symbol

Returns an object of type xbrl.UnitsRegistry.Unit.Symbol which represents the <utr:symbol> child element, or None if absent.

xbrl.UnitsRegistry.Unit.unit_id

Returns an object of type xbrl.UnitsRegistry.Unit.UnitId which represents the <utr:unitId> child element, or None if absent.

xbrl.UnitsRegistry.Unit.unit_name

Returns an object of type xbrl.UnitsRegistry.Unit.UnitName which represents the <utr:unitName> child element, or None if absent.

xbrl.UnitsRegistry.Unit.version_date

Returns an object of type xbrl.UnitsRegistry.Unit.VersionDate which represents the <utr:versionDate> child element, or None if absent.

Special methods

__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__