xbrl.formula.ExplicitDimensionRule
¶
An xbrl.formula.ExplicitDimensionRule
class represents an explicit dimension rule in a <formula:formula> or <table:table> resource.
Base class: xbrl.formula.DimensionRule
-> xbrl.formula.AspectRule
Nested classes: xbrl.formula.ExplicitDimensionRule.Member
-
class
xbrl.formula.
ExplicitDimensionRule
¶ Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a
NotImplementedError
exception.
Attributes¶
-
xbrl.formula.DimensionRule.
dimension
Returns the value of the @dimension attribute as an
xml.QName
object.
-
xbrl.formula.AspectRule.
element
Returns an
xml.ElementInformationItem
object which represents the XML element information item of the aspect rule.
-
xbrl.formula.ExplicitDimensionRule.
member
¶ If the explicit dimension rule has a <formula:member> child element, an
xbrl.formula.ExplicitDimensionRule.Member
object is returned, otherwise None is returned.
-
xbrl.formula.ExplicitDimensionRule.
omit
¶ Returns True if the explicit dimension rule has a <formula:omit> child element.
-
xbrl.formula.AspectRule.
source
Returns the inferred value of the ‘source’ attribute as
xml.QName
.
Special methods¶
__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__