com.microstrategy.web.objects.WebMonitorField |
A WebMonitorField represents a field in the monitor object. It provides access to various monitor properties. Such properties can be traversed and edited.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract WebMonitorProperty |
add(String name, String value, int dataType)
Adds a
WebMonitorProperty to the monitor field with the name, value, dataType passed. | ||||||||||
abstract Enumeration |
elements()
Returns an enumeration of the monitor properties.
| ||||||||||
abstract WebMonitorProperty |
get(int i)
Returns the
WebMonitorProperty at the index passed. | ||||||||||
abstract WebMonitorProperty |
getItemByName(String propertyName)
Returns the
WebMonitorProperty with the name passed. | ||||||||||
abstract String |
getName()
Returns the name of this monitor field.
| ||||||||||
abstract boolean |
isEmpty()
Tests if there are no monitor properties.
| ||||||||||
abstract WebMonitorProperty |
remove(int i)
Removes the
WebMonitorProperty at the index passed. | ||||||||||
abstract boolean |
remove(WebMonitorProperty monitorProperty)
Removes the
WebMonitorProperty passed. | ||||||||||
abstract int |
size()
Returns the number of monitor properties in this monitor field.
|
Adds a WebMonitorProperty
to the monitor field with the name, value, dataType passed. If a monitor property exists with the name passed,
it will be overwritten. The dataType should be a value from the Enumeration EnumDSSXMLDataType
.
Returns an enumeration of the monitor properties.
Returns the WebMonitorProperty
at the index passed.
Returns the WebMonitorProperty
with the name passed.
IllegalArgumentException | if there is no monitor property with the name passed. |
---|
Returns the name of this monitor field.
Tests if there are no monitor properties.
Removes the WebMonitorProperty
at the index passed.
Removes the WebMonitorProperty
passed.
Returns the number of monitor properties in this monitor field.