xbrl.Context.Entity.Segment

An xbrl.Context.Entity.Segment class represents a <xbrli:segment> element with an XBRL context in the XBRL instance.

class xbrl.Context.Entity.Segment

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

Attributes

xbrl.Context.Entity.Segment.child_elements

Returns an iterator of xml.ElementInformationItem objects representing the child elements of the <xbrli:segment> element information item.

xbrl.Context.Entity.Segment.complete_aspect_value

Returns an xbrl.SegmentAspectValue object representing the complete segment aspect value specified in the XBRL context.

xbrl.Context.Entity.Segment.element

Returns an xml.ElementInformationItem object which represents the <xbrli:segment> element information item.

xbrl.Context.Entity.Segment.explicit_members

Returns an iterator of xbrl.xdt.ExplicitMember objects representing only the <xbrldi:explicitMember> child elements of the <xbrli:segment> element information item.

xbrl.Context.Entity.Segment.non_xdt_aspect_value

Returns an xbrl.SegmentAspectValue object representing the non-XDT segment aspect value specified in the XBRL context.

xbrl.Context.Entity.Segment.non_xdt_child_elements

Returns an iterator of xml.ElementInformationItem objects representing only the non-XDT child elements of the <xbrli:segment> element information item.

xbrl.Context.Entity.Segment.typed_members

Returns an iterator of xbrl.xdt.TypedMember objects representing only the <xbrldi:typedMember> child elements of the <xbrli:segment> element information item.

Methods

xbrl.Context.Entity.Segment.explicit_member(Dimension dim)

Returns an xbrl.xdt.ExplicitMember object representing the <xbrldi:explicitMember> child element of the <xbrli:segment> element information item for the given dimension.

xbrl.Context.Entity.Segment.typed_member(Dimension dim)

Returns an xbrl.xdt.TypedMember object representing the <xbrldi:typedMember> child element of the <xbrli:segment> element information item for the given dimension.

Special methods

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