xbrl.table.DimensionRelationshipNode

An xbrl.table.DimensionRelationshipNode represents a <table:dimensionRelationshipNode> resource in the table linkbase.

Base class: xbrl.table.ClosedDefinitionNode -> xbrl.table.DefinitionNode

Nested classes: xbrl.table.DimensionRelationshipNode.FormulaAxis, xbrl.table.DimensionRelationshipNode.Generations, xbrl.table.DimensionRelationshipNode.LinkRole, xbrl.table.DimensionRelationshipNode.RelationshipSource

class xbrl.table.DimensionRelationshipNode

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

Attributes

xbrl.table.DimensionRelationshipNode.dimension

Returns an xbrl.xdt.Dimension object representing the dimension of the dimension relationship node.

xbrl.table.DimensionRelationshipNode.formula_axis

If the dimension relationship node has a <table:formulaAxis> or <table:formulaAxisExpression> child element an xbrl.table.DimensionRelationshipNode.FormulaAxis object is returned, otherwise None is returned.

xbrl.table.DimensionRelationshipNode.generations

If the dimension relationship node has a <table:generations> or <table:generationsExpression> child element an xbrl.table.DimensionRelationshipNode.Generations object is returned, otherwise None is returned.

xbrl.table.DimensionRelationshipNode.linkrole

If the dimension relationship node has a <table:linkrole> or <table:linkroleExpression> child element an xbrl.table.DimensionRelationshipNode.LinkRole object is returned, otherwise None is returned.

xbrl.table.ClosedDefinitionNode.parent_child_order

Returns the value of the ‘parentChildOrder’ attribute as an xbrl.table.ParentChildOrder enumeration, or None if the ‘parentChildOrder’ attribute is absent.

xbrl.table.DefinitionNode.participating_aspects

Returns an xbrl.AspectSet object representing the set of participating aspects for this definition node.

xbrl.table.DimensionRelationshipNode.relationship_sources

Returns an iterator of xbrl.table.DimensionRelationshipNode.RelationshipSource objects representing the <table:relationshipSource> and <table:relationshipSourceExpression> child element information items of the dimension relationship node.

xbrl.table.DefinitionNode.subtree_relationships

Returns an iterator of xbrl.table.DefinitionNodeSubtreeRelationship objects which represent the definition-node-subtree relationships from this <table:definitionNode> resource.

xbrl.table.DefinitionNode.tag_selector

Returns the value of the ‘tagSelector’ attribute as string or None if the ‘tagSelector’ attribute is absent.

Methods

Special methods

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