com.essbase.api.base
Interface IEssCollection

All Superinterfaces:
IEssBaseObject

public interface IEssCollection
extends IEssBaseObject

The IEssCollection interface allows to manage a collection of objects.


Method Summary
 void add(IEssBaseObject object)
          Adds an object to the collection.
 int getCount()
          Gets the count of objects in the collection.
 IEssIterator getIterator()
          Gets an iterator on the collection.
 void remove(IEssBaseObject object)
          Removes an object from the collection.
 

Method Detail

add

public void add(IEssBaseObject object)
         throws EssException
Adds an object to the collection.

Parameters:
object - The object to add.
Throws:
EssException - if an error occurs.

remove

public void remove(IEssBaseObject object)
            throws EssException
Removes an object from the collection.

Parameters:
object - The object to remove.
Throws:
EssException - if an error occurs.

getCount

public int getCount()
             throws EssException
Gets the count of objects in the collection.

Returns:
The count of objects in the collection.
Throws:
EssException - if an error occurs.

getIterator

public IEssIterator getIterator()
                         throws EssException
Gets an iterator on the collection.

Returns:
An iterator on the collection.
Throws:
EssException - if an error occurs.