|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.om.xdt.XDTDimensionalPrimaryItem
public class XDTDimensionalPrimaryItem
This is the infoset object that encapsulates a concept declaration in its dimensional space.
This dimensional representation process all item declarations extracting all hypercubes and resolving the valid combinations
Valid combinations are stored depending on the container type
Note: This object is NOT USED during the XDT validation. It is used only in the analysis of the XBRL Dimensional Infoset
| Constructor Summary | |
|---|---|
XDTDimensionalPrimaryItem(XDTPrimaryItem pri)
Primary item for which scenario combinations and segment combinations will be calculated. |
|
| Method Summary | |
|---|---|
java.util.Collection<XDTDimensionUse> |
getDimensions(XBRLRoleType role)
Access to all dimensions declared in hypercubes related with this primary item in a particular role |
XDTPrimaryItem |
getPrimaryItem()
Obtains the primary item this XDTDimensionalPrimaryItem is based on. |
java.util.Collection<XBRLRoleType> |
getRolesForDimensions()
Access to the XBRLRoleTypes this primary item has dimensions |
java.util.Collection<XDTValidCombinationSet> |
getScenarioCombinations()
|
java.util.Collection<XDTValidCombinationSet> |
getSegmentCombinations()
|
boolean |
isRequiredDimension(javax.xml.namespace.QName dim,
int container)
Returns true if the dimension dim exist in all combinations and all combination sets are closed. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XDTDimensionalPrimaryItem(XDTPrimaryItem pri)
pri - XDTPrimaryItem| Method Detail |
|---|
public boolean isRequiredDimension(javax.xml.namespace.QName dim,
int container)
This method is used by GUIs to determine if a dimension is optional or required for a primary item. If the dimension is optional, there is no "pagination" over values of this dimension. But there may be "filtering" over the values of the dimension.
Also, when a dimension is optional, a dimension value called "Not Reported" may appear in GUIs when the selected combination does not contains the dimension dim.
dim - the dimension for which required is calculatedcontainer - integer indicating the dimension container, either XDTHypercubeUse.SEGMENT or XDTHypercubeUse.SCENARIO
public XDTPrimaryItem getPrimaryItem()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Collection<XDTValidCombinationSet> getScenarioCombinations()
public java.util.Collection<XDTValidCombinationSet> getSegmentCombinations()
public java.util.Collection<XBRLRoleType> getRolesForDimensions()
public java.util.Collection<XDTDimensionUse> getDimensions(XBRLRoleType role)
role -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||