xbrl.formula.ConceptRelationFilter.ArcRole

This class represents the <crf:arcrole> or <crf:arcroleExpression> child element of a <crf:conceptRelation> filter resource.

class xbrl.formula.ConceptRelationFilter.ArcRole

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

Attributes

xbrl.formula.ConceptRelationFilter.ArcRole.element

Returns an xml.ElementInformationItem object which represents the <crf:arcrole> or <crf:arcroleExpression> element information item.

xbrl.formula.ConceptRelationFilter.ArcRole.expression

Returns an xbrl.XPathExpression object if the arcrole value is represeted by a <crf:arcroleExpression> element information item, otherwise None is returned.

xbrl.formula.ConceptRelationFilter.ArcRole.value

Returns an string if the arcrole value is represeted by a <crf:arcrole> element information item, otherwise None is returned.

Special methods

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