com.microstrategy.web.objects.admin.monitors.Instance |
![]() |
This interface represents an Instance object, which is a collection of counters.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract Enumeration |
elements()
Returns a java.util.Enumeration containing the objects in this collection.
| ||||||||||
abstract Counter |
get(int index)
Returns the
Counter at the given index within the collection. | ||||||||||
abstract String |
getHelpMessage()
Returns the help message associated with the instance.
| ||||||||||
abstract Counter |
getItemByName(String name)
Returns the
Counter in the collection with the given name. | ||||||||||
abstract String |
getLocalizedHelpMessage(Locale locale)
Returns the localized help message associated with this instance.
| ||||||||||
abstract String |
getLocalizedName(Locale locale)
Returns the localized name of the instance.
| ||||||||||
abstract String |
getName()
Returns the name of the instance, if one exists.
| ||||||||||
abstract Category |
getOwnerCategory()
Returns the
Category to which this counter belongs to. | ||||||||||
abstract boolean |
isEmpty()
Returns whether the collection is empty.
| ||||||||||
abstract int |
size()
Returns the size of the collection.
|
Returns a java.util.Enumeration containing the objects in this collection.
Returns the help message associated with the instance. The help string is an optional string which describes the instance.
Returns the Counter
in the collection with the given name.
name | The name of the counter to return. Note: this is the name, not the localized name of the counter. |
---|
IllegalArgumentException | Thrown if no object with the given name doesn't exist in the collection. |
---|
Returns the localized help message associated with this instance.
locale | Locale The locale that the help message to localized to. |
---|
Returns the localized name of the instance.
locale | Locale The locale that the name to be localized to. |
---|
Returns the name of the instance, if one exists.
Returns the Category
to which this counter belongs to.
Returns whether the collection is empty.
Returns the size of the collection.