public class XDTDimensionalPrimaryItemForGUIs extends XDTDimensionalPrimaryItem
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 and Description |
---|
XDTDimensionalPrimaryItemForGUIs(XDTDimensionalPrimaryItem pri)
Creates an instance of this class.
|
Modifier and Type | Method and Description |
---|---|
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.
|
clear, getDimensions, getPrimaryItem, getRolesForDimensions, getScenarioCombinations, getSegmentCombinations, isRequiredDimension, toString
public XDTDimensionalPrimaryItemForGUIs(XDTDimensionalPrimaryItem pri)
pri
- the parent classpublic java.util.Collection<javax.xml.namespace.QName> getDimensions()
public java.util.Collection<javax.xml.namespace.QName> getDomain(javax.xml.namespace.QName dimension)
dimension
- QNamepublic java.lang.Integer getDimensionContainer(javax.xml.namespace.QName dimension)
dimension
- the dimensionpublic boolean isRequiredDimension(javax.xml.namespace.QName dimension)
dimension
- QNamepublic java.util.Collection<XDTDimensionUse> getDimensionUses(javax.xml.namespace.QName dimension)
dimension
- QNamepublic XDTDimension getDimension(javax.xml.namespace.QName dimension)
dimension
- QNameCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa