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 |
---|---|
void |
clear()
Clear.
|
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)
Gets the node at.
|
int |
getNodeCount()
Gets the node count.
|
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()
Gets the nodes.
|
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()
Gets the parent.
|
XBRLStructuralTable |
getTable()
Access to the XBRLTable resource that is the origin on this XBRLStructuralBreakdown.
|
boolean |
isLeaf()
Checks if is leaf.
|
public XBRLStructuralBreakdown(Axis axis, XBRLStructuralTable xbrlTable) throws XTValidationException
axis
- the axis to process from the tablexbrlTable
- the table for which the axis will be processedXTValidationException
- 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()
getNodes
in interface StructuralNodeInterface
public 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)
getNodeAt
in interface StructuralNodeInterface
index
- the indexpublic boolean isLeaf()
isLeaf
in interface StructuralNodeInterface
public int getNodeCount()
getNodeCount
in interface StructuralNodeInterface
public XBRLStructuralNode getParent()
getParent
in interface StructuralNodeInterface
public void clear()
clear
in interface StructuralNodeInterface
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa