xbrl.table.ConceptRelationshipNode.LinkRole
¶
This class represents the <table:linkrole> or <table:linkroleExpression> child element of a relationship node.
- class xbrl.table.ConceptRelationshipNode.LinkRole¶
Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a
NotImplementedError
exception.
Attributes¶
- xbrl.table.DimensionRelationshipNode.LinkRole.element
Returns an xml.ElementInformationItem object which represents the <table:linkrole> or <table:linkroleExpression> element information item.
- xbrl.table.DimensionRelationshipNode.LinkRole.expression
Returns an xbrl.XPathExpression object if the linkrole value is represeted by a <table:linkroleExpression> element information item, otherwise None is returned.
- xbrl.table.DimensionRelationshipNode.LinkRole.value
Returns a string if the linkrole value is represeted by a <table:linkrole> element information item, otherwise None is returned.
Special methods¶
__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__