public interface

WebClusterProjectInfoCollection

com.microstrategy.web.objects.WebClusterProjectInfoCollection

Class Overview

Defines generic functionality for a collection of WebClusterProjectInfo objects.

Summary

Public Methods
abstract WebClusterProjectInfo get(int index)
Returns the project info object with the given index from the collection.
abstract boolean isEmpty()
Returns true if the collection is empty, false if it contains one or more projects.
abstract WebClusterProjectInfo itemByProject(WebProjectInstance instance)
Returns the project info object for the provided project, if one exists.
abstract int size()
Returns the number of projects within the collection.

Public Methods

public abstract WebClusterProjectInfo get (int index)

Returns the project info object with the given index from the collection.

Returns
Throws
IndexOutOfBoundsException Thrown if the index could not be found in the collection.

public abstract boolean isEmpty ()

Returns true if the collection is empty, false if it contains one or more projects.

Returns
  • A boolean value indicating whether the collection is empty.

public abstract WebClusterProjectInfo itemByProject (WebProjectInstance instance)

Returns the project info object for the provided project, if one exists. Returns null otherwise

Parameters
instance WebProjectInstance associated with the desired info object
Returns
Throws
IllegalArgumentException

public abstract int size ()

Returns the number of projects within the collection.

Returns
  • The size of the project collection.