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
NotImplementedErrorexception.
Attributes¶
-
xbrl.UnitsRegistry.Unit.base_standard¶ Returns an object of type
xbrl.UnitsRegistry.Unit.BaseStandardwhich represents the <utr:baseStandard> child element, or None if absent.
-
xbrl.UnitsRegistry.Unit.conversion_content¶ Returns an object of type
xbrl.UnitsRegistry.Unit.ConversionContentwhich represents the <utr:conversionContent> child element, or None if absent.
-
xbrl.UnitsRegistry.Unit.conversion_presentation¶ Returns an object of type
xbrl.UnitsRegistry.Unit.ConversionPresentationwhich represents the <utr:conversionPresentation> child element, or None if absent.
-
xbrl.UnitsRegistry.Unit.definition¶ Returns an object of type
xbrl.UnitsRegistry.Unit.Definitionwhich represents the <utr:definition> child element, or None if absent.
-
xbrl.UnitsRegistry.Unit.denominator_item_type¶ Returns an object of type
xbrl.UnitsRegistry.Unit.DenominatorItemTypewhich represents the <utr:denominatorItemType> child element, or None if absent.
-
xbrl.UnitsRegistry.Unit.element¶ Returns an
xml.ElementInformationItemobject 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.ItemTypewhich represents the <utr:itemType> child element, or None if absent.
-
xbrl.UnitsRegistry.Unit.item_type_date¶ Returns an object of type
xbrl.UnitsRegistry.Unit.ItemTypeDatewhich 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.NsDenominatorItemTypewhich represents the <utr:nsDenominatorItemType> child element, or None if absent.
-
xbrl.UnitsRegistry.Unit.ns_item_type¶ Returns an object of type
xbrl.UnitsRegistry.Unit.NsItemTypewhich 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.NsNumeratorItemTypewhich represents the <utr:nsNumeratorItemType> child element, or None if absent.
-
xbrl.UnitsRegistry.Unit.ns_unit¶ Returns an object of type
xbrl.UnitsRegistry.Unit.NsUnitwhich represents the <utr:nsUnit> child element, or None if absent.
-
xbrl.UnitsRegistry.Unit.numerator_item_type¶ Returns an object of type
xbrl.UnitsRegistry.Unit.NumeratorItemTypewhich represents the <utr:numeratorItemType> child element, or None if absent.
-
xbrl.UnitsRegistry.Unit.status¶ Returns an object of type
xbrl.UnitsRegistry.Unit.Statuswhich represents the <utr:status> child element, or None if absent.
-
xbrl.UnitsRegistry.Unit.symbol¶ Returns an object of type
xbrl.UnitsRegistry.Unit.Symbolwhich represents the <utr:symbol> child element, or None if absent.
-
xbrl.UnitsRegistry.Unit.unit_id¶ Returns an object of type
xbrl.UnitsRegistry.Unit.UnitIdwhich represents the <utr:unitId> child element, or None if absent.
-
xbrl.UnitsRegistry.Unit.unit_name¶ Returns an object of type
xbrl.UnitsRegistry.Unit.UnitNamewhich represents the <utr:unitName> child element, or None if absent.
-
xbrl.UnitsRegistry.Unit.version_date¶ Returns an object of type
xbrl.UnitsRegistry.Unit.VersionDatewhich represents the <utr:versionDate> child element, or None if absent.
Special methods¶
__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__