com.microstrategy.web.objects.WebDimtyUnit |
This interface represents a dimensionality unit.
The dimensionality of a metric is an expression that represents the level (i.e. list of attributes) at which the metric is calculated. It is fairly complex since in addition to describing a list of attributes we also need to describe how the level interacts with attributes in the filter and the template of the report that contains the metric.
The dimensionality is described as a collection of units. Each unit is represented by an instance of WebDimtyUnit. Each dimensionality unit records information about how a particular attribute or dimension appears in the dimensionality.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract int |
getAggregation()
Returns the current setting of the aggregation flag.
| ||||||||||
abstract int |
getFiltering()
Returns the current filtering setting on this object.
| ||||||||||
abstract boolean |
getGroupBy()
Returns the current setting of the groupBy property.
| ||||||||||
abstract int |
getKey()
Returns the key of this dimty unit in its'
WebDimty collection. | ||||||||||
abstract int |
getRelativePosition()
Returns the current setting for relative position for the dimensionality unit.
| ||||||||||
abstract WebObjectInfo |
getTarget()
Returns the target of the dimensionality unit, if one exists.
| ||||||||||
abstract int |
getUnitType()
Returns the dimty unit type, which is a value from
EnumDSSXMLDimtyUnitType . | ||||||||||
abstract void |
setAggregation(int aggregation)
Sets the aggregation of the current dimty unit.
| ||||||||||
abstract void |
setFiltering(int filtering)
Sets the filtering setting for this dimensionality unit.
| ||||||||||
abstract void |
setGroupBy(boolean groupBy)
Sets the groupBy property on this dimensionality unit.
| ||||||||||
abstract void |
setRelativePosition(int relativePosition)
Sets the relative position property.
| ||||||||||
abstract void |
setTarget(WebObjectInfo objectInfo)
Sets the target of the dimensionality unit.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Returns the current setting of the aggregation flag. This value should be
from EnumDSSXMLAggregation
.
Returns the current filtering setting on this object.
EnumDSSXMLFiltering
.Returns the current setting of the groupBy property.
Returns the key of this dimty unit in its' WebDimty
collection.
Returns the current setting for relative position for the dimensionality unit.
Returns the target of the dimensionality unit, if one exists. If the dimensionality unit does not have a target set, or does not require one, this will return null.
WebObjectInfo
object, or null if the target is not set.Returns the dimty unit type, which is a value from EnumDSSXMLDimtyUnitType
. This
is set upon creation of the dimty unit.
EnumDSSXMLDimtyUnitType
.
Sets the aggregation of the current dimty unit.
aggregation | A value from EnumDSSXMLAggregation , which will be
set as the aggregation on this dimty unit. |
---|
Sets the filtering setting for this dimensionality unit.
filtering | The new value for the filtering property, from
EnumDSSXMLFiltering . |
---|
Sets the groupBy property on this dimensionality unit.
groupBy | A boolean which tells whether groupBy should be on or off for this dimensionality unit. |
---|
Sets the relative position property.
relativePosition | The value to use for relative position. |
---|
Sets the target of the dimensionality unit. Note that this is only valid for some of the different dimensionality unit types.
objectInfo | A WebObjectInfo object which is to be used as the target of
this dimensionality unit. |
---|
UnsupportedOperationException | If the dimensionality unit's type is one which cannot have a target, then this exception is thrown. |
---|