xbrl.taxonomy.SimilarTuplesRelationship¶
An xbrl.taxonomy.SimilarTuplesRelationship class represents a similar-tuples relationship in the DTS network of relationships.
Base class: xbrl.taxonomy.DefinitionRelationship -> xbrl.taxonomy.Relationship
-
class
xbrl.taxonomy.SimilarTuplesRelationship¶ Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a
NotImplementedErrorexception.
Attributes¶
-
xbrl.taxonomy.Relationship.arc Returns an
xbrl.taxonomy.Arcobject which represents the underlying XLink arc in the DTS.
-
xbrl.taxonomy.Relationship.arcrole Returns the arcrole URI for this relationship as str.
-
xbrl.taxonomy.Relationship.from_locator Returns an
xbrl.taxonomy.Locatorobject which represents the XLink from locator of this relationship.
-
xbrl.taxonomy.Relationship.order Returns the order value of the relationship as decimal.Decimal.
-
xbrl.taxonomy.Relationship.overridden_relationships Returns an iterator of
xbrl.taxonomy.Relationshipobjects representing equivalent relationships that have been overridden by this relationship. Returns an empty list if this relationship is not an effective relationship.
-
xbrl.taxonomy.Relationship.overriding_relationship Returns an
xbrl.taxonomy.Relationshipobject representing the equivalent relationship with the highest priority, or None if this relationship has not been overridden.
-
xbrl.taxonomy.Relationship.preferred_label Returns the value of the ‘preferredLabel’ attribute as a string, or None if the XLink arc element information item doesn’t have a ‘preferredLabel’ attribute. If support for XBRL Generic Preferred Label 1.0 is enabled, the @gpl:preferredLabel attribute will also be consulted.
-
xbrl.taxonomy.Relationship.priority Returns priority value of the relationship as int.
-
xbrl.taxonomy.Relationship.role Returns the role URI of the containing extended link for this relationship as str.
-
xbrl.taxonomy.DefinitionRelationship.source Returns an
xbrl.taxonomy.Conceptobject which represents the source XBRL concept of the relationship.
-
xbrl.taxonomy.Relationship.source_concept Returns an
xbrl.taxonomy.Conceptobject which represents the source concept of the relationship, or None if the relationship source is not an XBRL concept.
-
xbrl.taxonomy.Relationship.source_element Returns an
xml.ElementInformationItemobject which represents the source XML element information item of the relationship.
-
xbrl.taxonomy.Relationship.source_fact Returns an
xbrl.Factobject which represents the source fact of the relationship, or None if the relationship source is not an XBRL fact.
-
xbrl.taxonomy.Relationship.source_resource Returns an
xbrl.taxonomy.Resourceobject which represents the source resource of the relationship, or None if the relationship source is not an XBRL resource.
-
xbrl.taxonomy.DefinitionRelationship.target Returns an
xbrl.taxonomy.Conceptobject which represents the target XBRL concept of the relationship.
-
xbrl.taxonomy.Relationship.target_concept Returns an
xbrl.taxonomy.Conceptobject which represents the target concept of the relationship, or None if the relationship target is not an XBRL concept.
-
xbrl.taxonomy.Relationship.target_element Returns an
xml.ElementInformationItemobject which represents the target XML element information item of the relationship.
-
xbrl.taxonomy.Relationship.target_fact Returns an
xbrl.Factobject which represents the target fact of the relationship, or None if the relationship target is not an XBRL fact.
-
xbrl.taxonomy.Relationship.target_resource Returns an
xbrl.taxonomy.Resourceobject which represents the target resource of the relationship, or None if the relationship target is not an XBRL resource.
-
xbrl.taxonomy.DefinitionRelationship.target_role Returns the value of the ‘xbrldt:targetRole’ attribute as a string, or None if the XLink arc element information item doesn’t have an ‘xbrldt:targetRole’ attribute.
-
xbrl.taxonomy.Relationship.to_locator Returns an
xbrl.taxonomy.Locatorobject which represents the XLink to locator of this relationship.
Methods¶
-
xbrl.taxonomy.Relationship.is_effective() Returns True if the relationship was included in the network of relationships.
-
xbrl.taxonomy.Relationship.is_prohibited() Returns True if the relationship is a prohibiting relationship.
Special methods¶
__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__