xbrl.formula.ConceptRelationFilter.LinkRole

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

class xbrl.formula.ConceptRelationFilter.LinkRole

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

Attributes

xbrl.formula.ConceptRelationFilter.LinkRole.element

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

xbrl.formula.ConceptRelationFilter.LinkRole.expression

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

xbrl.formula.ConceptRelationFilter.LinkRole.value

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

Special methods

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