com.microstrategy.web.objects.WebServerSettings |
The WebServerSettings interface represents a collection of server settings associated
with a WebServerDef
object. The settings in this collection are distinguished by
their ID.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract boolean |
contains(int id)
Returns whether an item with the given ID exists in the collection.
| ||||||||||
abstract Enumeration |
elements()
Returns a java.util.Enumeration containing all the items in the collection.
| ||||||||||
abstract WebServerSetting |
get(int i)
Returns the item at the given index in the collection.
| ||||||||||
abstract WebServerSetting |
getItemByID(int id)
Returns the item with the given ID in the collection.
| ||||||||||
abstract int |
size()
This method returns the number of settings in the collection.
|
Returns whether an item with the given ID exists in the collection.
id | The ID of the item to search for, from EnumDSSXMLServerSettingID . |
---|
Returns a java.util.Enumeration containing all the items in the collection.
Returns the item at the given index in the collection.
i | The index of the item to return in the collection. |
---|
WebServerSetting
object at the given index.
Returns the item with the given ID in the collection.
id | The ID of the setting to return, from EnumDSSXMLServerSettingID . |
---|
WebServerSetting
object with the given ID.IllegalArgumentException | Thrown if no item with the given ID is found. |
---|
This method returns the number of settings in the collection.