|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.om.xdt.XDTDimensionalPrimaryItem
com.ihr.xbrl.om.xdt.XDTDimensionalPrimaryItemForGUIs
public class XDTDimensionalPrimaryItemForGUIs
This class represents a "new view" over a dimensional primary item based on the interpretation of the authors of the formula linkbase and the assumptions made by the specification working group regarding the same dimension name cannot appear both in segment and scenario container. (a mistake from my personal point of view and a contradiction with the XBRL 2.1 specification... but...)
This class also does not takes into consideration the primary item is linked with a set of dimensions and that the dimension values may interact one with the others causing invalid combinations if one member is used in one dimension and not used in other combination.
validity of the combinations are available as this object is a superclass of the XDTDimensionalPrimaryItem.
| Constructor Summary | |
|---|---|
XDTDimensionalPrimaryItemForGUIs(XDTDimensionalPrimaryItem pri)
Creates an instance of this class. |
|
| Method Summary | |
|---|---|
XDTDimension |
getDimension(javax.xml.namespace.QName dimension)
Returns the XDTDimension from the dimension QName or null if the dimension is not used on this primary item |
java.lang.Integer |
getDimensionContainer(javax.xml.namespace.QName dimension)
Returns the preferred container for the selected dimension or null if the dimension is not explicitly indicated in any hypercube (OPEN hypercubes) |
java.util.Collection<javax.xml.namespace.QName> |
getDimensions()
Returns the list of dimensions for this primary item |
java.util.Collection<XDTDimensionUse> |
getDimensionUses(javax.xml.namespace.QName dimension)
Returns a Collection of dimension uses (instances of XDTDimensionUse) that participate in the definition of this dimensional primary item. or null if there are no XDTDimensionUse found |
java.util.Collection<javax.xml.namespace.QName> |
getDomain(javax.xml.namespace.QName dimension)
Returns the list of values for a given dimension. |
boolean |
isRequiredDimension(javax.xml.namespace.QName dimension)
Returns a boolean value indicating if the dimension appears in all combinations and the context container for that dimension is closed. |
| Methods inherited from class com.ihr.xbrl.om.xdt.XDTDimensionalPrimaryItem |
|---|
getPrimaryItem, getScenarioCombinations, getSegmentCombinations, isRequiredDimension, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XDTDimensionalPrimaryItemForGUIs(XDTDimensionalPrimaryItem pri)
pri - the parent class| Method Detail |
|---|
public java.util.Collection<javax.xml.namespace.QName> getDimensions()
public java.util.Collection<javax.xml.namespace.QName> getDomain(javax.xml.namespace.QName dimension)
dimension - QName
public java.lang.Integer getDimensionContainer(javax.xml.namespace.QName dimension)
dimension -
public boolean isRequiredDimension(javax.xml.namespace.QName dimension)
dimension - QName
public java.util.Collection<XDTDimensionUse> getDimensionUses(javax.xml.namespace.QName dimension)
dimension - QName
public XDTDimension getDimension(javax.xml.namespace.QName dimension)
dimension - QName
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||