xbrl.table.DimensionRelationshipNode.Generations

This class represents the <table:generations> or <table:generationsExpression> child element of a relationship node.

class xbrl.table.DimensionRelationshipNode.Generations

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

Attributes

xbrl.table.DimensionRelationshipNode.Generations.element

Returns an xml.ElementInformationItem object which represents the <table:generations> or <table:generationsExpression> element information item.

xbrl.table.DimensionRelationshipNode.Generations.expression

Returns an xbrl.XPathExpression object if the generations value is represeted by a <table:generationsExpression> element information item, otherwise None is returned.

xbrl.table.DimensionRelationshipNode.Generations.value

Returns an int if the generations value is represeted by a <table:generations> element information item, otherwise None is returned.

Special methods

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