xbrl.table.DimensionRelationshipNode¶
An xbrl.table.DimensionRelationshipNode represents a <table:dimensionRelationshipNode> resource in the table linkbase.
Base class: xbrl.table.ClosedDefinitionNode -> xbrl.table.DefinitionNode -> xbrl.taxonomy.Resource
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
NotImplementedErrorexception.
Attributes¶
-
xbrl.table.DimensionRelationshipNode.dimension¶ Returns an
xbrl.xdt.Dimensionobject representing the dimension of the dimension relationship node.
-
xbrl.taxonomy.Resource.document Returns an
xml.Documentobject which represents the XBRL taxonomy document which contains this resource.
-
xbrl.taxonomy.Resource.documentation_label Returns an
xbrl.taxonomy.Labelobject which represents the standard generic label assigned in the documentation generic linkrole, otherwise None. In case of mulitple labels (e.g. in different languages) only the first label (according to the order attribute on the labelArc) is returned.
-
xbrl.taxonomy.Resource.effective_role Returns the value of the ‘xlink:role’ attribute as a string, or the standard role for this resource if the XML element information item doesn’t have an ‘xlink:role’ attribute. If no default standard role has been defined for this resource None is returned.
-
xbrl.taxonomy.Resource.element Returns an
xml.ElementInformationItemobject which represents the XML element information item of the <xl:resource> resource.
-
xbrl.taxonomy.Resource.extended_link Returns an
xbrl.taxonomy.ExtendedLinkobject which represents the containin XLink extended link.
-
xbrl.table.DimensionRelationshipNode.formula_axis¶ If the dimension relationship node has a <table:formulaAxis> or <table:formulaAxisExpression> child element an
xbrl.table.DimensionRelationshipNode.FormulaAxisobject 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.Generationsobject is returned, otherwise None is returned.
-
xbrl.taxonomy.Resource.id Returns the value of the ‘id’ attribute as a string, or None if the XML element information item doesn’t have an ‘id’ attribute.
-
xbrl.taxonomy.Resource.label Returns an
xbrl.taxonomy.Labelobject which represents the standard generic label assigned in the standard generic linkrole, otherwise None. In case of mulitple labels (e.g. in different languages) only the first label (according to the order attribute on the labelArc) is returned.
-
xbrl.table.DimensionRelationshipNode.linkrole¶ If the dimension relationship node has a <table:linkrole> or <table:linkroleExpression> child element an
xbrl.table.DimensionRelationshipNode.LinkRoleobject is returned, otherwise None is returned.
-
xbrl.table.ClosedDefinitionNode.parent_child_order Returns the value of the ‘parentChildOrder’ attribute as an
xbrl.table.ParentChildOrderenumeration, or None if the ‘parentChildOrder’ attribute is absent.
-
xbrl.table.DefinitionNode.participating_aspects Returns an
xbrl.AspectSetobject representing the set of participating aspects for this definition node.
-
xbrl.taxonomy.Resource.qname Returns an
xml.QNameobject which represents the XML qualified name of the resource element information item.
-
xbrl.table.DimensionRelationshipNode.relationship_sources¶ Returns an iterator of
xbrl.table.DimensionRelationshipNode.RelationshipSourceobjects 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.DefinitionNodeSubtreeRelationshipobjects 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.
-
xbrl.taxonomy.Resource.terse_label Returns an
xbrl.taxonomy.Labelobject which represents the standard generic label assigned in the terse generic linkrole, otherwise None. In case of mulitple labels (e.g. in different languages) only the first label (according to the order attribute on the labelArc) is returned.
-
xbrl.taxonomy.Resource.verbose_label Returns an
xbrl.taxonomy.Labelobject which represents the standard generic label assigned in the verbose generic linkrole, otherwise None. In case of mulitple labels (e.g. in different languages) only the first label (according to the order attribute on the labelArc) is returned.
-
xbrl.taxonomy.Resource.xlink_label Returns the value of the ‘xlink:label’ attribute as a string, or None if the XML element information item doesn’t have an ‘xlink:label’ attribute.
-
xbrl.taxonomy.Resource.xlink_role Returns the value of the ‘xlink:role’ attribute as a string, or None if the XML element information item doesn’t have an ‘xlink:role’ attribute.
-
xbrl.taxonomy.Resource.xlink_title Returns the value of the ‘xlink:title’ attribute as a string, or None if the XML element information item doesn’t have an ‘xlink:title’ attribute.
Methods¶
-
xbrl.taxonomy.Resource.label_relationships(link_role=None) Returns an iterator of
xbrl.taxonomy.ElementLabelRelationshipobjects. If called without any arguments, all element-label <gen:arc> relationships starting from this resource will be returned. Use the link_role argument to constrain the returned relationships.
-
xbrl.taxonomy.Resource.labels(label_role=None, link_role=None, lang=None) Returns an iterator of
xbrl.taxonomy.Labelobjects. If called without any arguments, all assigned generic labels will be returned. Use label_role, link_role and lang arguments to constrain the returned labels.
-
xbrl.taxonomy.Resource.reference_relationships(link_role=None) Returns an iterator of
xbrl.taxonomy.ElementReferenceRelationshipobjects. If called without any arguments, all element-reference <gen:arc> relationships starting from this resource will be returned. Use the link_role argument to constrain the returned relationships.
-
xbrl.taxonomy.Resource.references(reference_role=None, link_role=None) Returns an iterator of
xbrl.taxonomy.Referenceobjects. If called without any arguments, all assigned generic references will be returned. Use reference_role and link_role arguments to constrain the returned references.
-
xbrl.taxonomy.Resource.xpointer(bForceElementScheme=False) Returns an URI with XPointer fragment that points to this XML element as a string. If the XML element information item has an id attribute, a shorthand pointer with the id attribute value will be generated, otherwise the XPointer element scheme will be used. Set force_element_scheme to True to prevent generation of shorthand pointers.
Special methods¶
__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__