public interface

ConfigurationElementList

implements ConfigurationElement
com.microstrategy.utils.config.ConfigurationElementList
Known Indirect Subclasses

Class Overview

This interface represents a collection of ConfigurationElement instances. It should be implemented by those classes whose child elements are all of the same type.

Summary

Public Methods
abstract void clear()
Clears the element of the collection
abstract ConfigurationElement get(int index)
abstract ConfigurationElement get(Object key)
abstract Object getKey(int index)
abstract Enumeration getValues()
abstract void put(Object key, ConfigurationElement element)
Add an element to the collection
abstract ConfigurationElement remove(Object key)
Removes an element from the collection
abstract int size()
[Expand]
Inherited Methods
From interface com.microstrategy.utils.config.ConfigurationElement

Public Methods

public abstract void clear ()

Clears the element of the collection

public abstract ConfigurationElement get (int index)

Parameters
index index of the object to return
Returns
  • The object in the collection with the given index

public abstract ConfigurationElement get (Object key)

Parameters
key the key of the object to return
Returns
  • An object of the collection with the given Key

public abstract Object getKey (int index)

Parameters
index the index of the requested Object
Returns
  • the key ob the object in index

public abstract Enumeration getValues ()

Returns
  • an enumeration of the values currently in the collection

public abstract void put (Object key, ConfigurationElement element)

Add an element to the collection

Parameters
key the key of the object
element the configelement to add

public abstract ConfigurationElement remove (Object key)

Removes an element from the collection

Parameters
key the key of the object to remove;
Returns
  • the removed ConfigurationElement object

public abstract int size ()

Returns
  • the size of the collection