| com.microstrategy.web.objects.WebDimension |
This interface represents a dimension, which is a first class object.
The WebDimension interface is primarily a collection of attributes, and most of
its' methods which are not derived from WebObjectInfo reflect that fact.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract Enumeration |
elements()
Returns a java.util.Enumeration containing the attributes within the collection.
| ||||||||||
| abstract WebDimensionAttribute |
get(int index)
Returns the attribute within the collection with the given index.
| ||||||||||
| abstract int |
getStyle()
Returns the XML style in which the dimension will be output in display XML.
| ||||||||||
| abstract WebDisplayUnits | getTopLevelAttributes() | ||||||||||
| abstract boolean |
isEmpty()
Returns whether the dimension has any attributes.
| ||||||||||
| abstract WebDimensionAttribute |
itemByID(String attributeDSSID)
Searches for an attribute with the given DSSID in the WebDimension collection.
| ||||||||||
| abstract void |
setStyle(int style)
Sets the XML style will be used when generating display XML for this dimension.
| ||||||||||
| abstract int |
size()
Returns the number of attributes in the dimension collection.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.microstrategy.utils.KeyedObject
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
From interface
com.microstrategy.web.objects.WebDisplayUnit
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
From interface
com.microstrategy.web.objects.WebFeatures
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
From interface
com.microstrategy.web.objects.WebObjectInfo
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
From interface
com.microstrategy.web.objects.WebPromptSite
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Returns a java.util.Enumeration containing the attributes within the collection.
Returns the attribute within the collection with the given index.
| index | The index of the object to find. |
|---|
WebDimensionAttribute object corresponding to the given index.| IndexOutOfBoundsException | Thrown if the given index is invalid. |
|---|
Returns the XML style in which the dimension will be output in display XML.
EnumWebDimensionDisplayStyle.Returns whether the dimension has any attributes.
Searches for an attribute with the given DSSID in the WebDimension collection.
| attributeDSSID | The DSS ID of the attribute to search for in the dimension. |
|---|
WebDimensionAttribute object with the given DSS ID.| IllegalArgumentException | Thrown if an attribute by the given DSS ID is not found in the dimension. |
|---|
Sets the XML style will be used when generating display XML for this dimension.
| style | The display style to use for the dimension, which should be
a value from EnumWebDimensionDisplayStyle. |
|---|
Returns the number of attributes in the dimension collection.
