public class XBRLStructuralBreakdown extends java.lang.Object implements StructuralNodeInterface
| Constructor and Description |
|---|
XBRLStructuralBreakdown(Axis axis,
XBRLStructuralTable xbrlTable)
Creates a structural model table for the indicated axis and table in the definition model.
|
| Modifier and Type | Method and Description |
|---|---|
Axis |
getAxis()
Access to the axis this XBRLStructuralNode was created for.
|
XBRLBreakdown |
getBreakdown(int idx)
Access to one breakdown for the given index
|
java.util.Iterator<XBRLBreakdown> |
getBreakdowns()
Access to an iterator over all breakdowns on this Structural Breakdown.
|
int |
getNBreakdowns()
Access to the number of breakdowns on this axis.
|
XBRLStructuralNode |
getNodeAt(int index)
Access a specific TableStructuralNode by index.
|
int |
getNodeCount()
Number of children nodes.
|
int |
getNodeCount(XBRLBreakdown bd)
Returns the number of nodes on this structural breakdown that
belongs to the particular XBRLBreakdown passed in as a parameter.
|
java.util.Iterator<XBRLStructuralNode> |
getNodes()
Allows to iterate all nodes in the right representation order.
|
java.util.Iterator<XBRLStructuralNode> |
getNodes(XBRLBreakdown bd)
Returns an iterator over TableStructuralNode that belongs to
the particular XBRLBreakdown passed in as a parameter.
|
XBRLStructuralNode |
getParent()
Access to the parent node of this StructuralNodeInterface.
|
XBRLStructuralTable |
getTable()
Access to the XBRLTable resource that is the origin on this XBRLStructuralBreakdown.
|
boolean |
isLeaf()
last node in a tree is leaf node.
|
public XBRLStructuralBreakdown(Axis axis, XBRLStructuralTable xbrlTable) throws XTValidationException
axis - the axis to process from the tablexbrlTable - the xbrl tableXTValidationException - the XT validation exceptionpublic java.util.Iterator<XBRLBreakdown> getBreakdowns()
public int getNBreakdowns()
public XBRLBreakdown getBreakdown(int idx)
idx - the breakdown index starting from 0public Axis getAxis()
public XBRLStructuralTable getTable()
public java.util.Iterator<XBRLStructuralNode> getNodes()
StructuralNodeInterfacegetNodes in interface StructuralNodeInterfacepublic java.util.Iterator<XBRLStructuralNode> getNodes(XBRLBreakdown bd)
bd - The breakdown to extract TableStructuralNode(s) frompublic int getNodeCount(XBRLBreakdown bd)
bd - the bdpublic XBRLStructuralNode getNodeAt(int index)
StructuralNodeInterfacegetNodeAt in interface StructuralNodeInterfaceindex - integerpublic boolean isLeaf()
StructuralNodeInterfaceisLeaf in interface StructuralNodeInterfacepublic int getNodeCount()
StructuralNodeInterfacegetNodeCount in interface StructuralNodeInterfacepublic XBRLStructuralNode getParent()
StructuralNodeInterfacegetParent in interface StructuralNodeInterface