com.microstrategy.web.beans.HighlightedObjects |
This interface is a typical collection interface of
HighlightedObject
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract HighlightedObject |
add(String objectId, int objectType)
Appends a HighlightedObject into the collection.
| ||||||||||
abstract void |
clear()
Removes all of the HighlightedObject from the collection.
| ||||||||||
abstract boolean |
contains(HighlightedObject ho)
Returns true if the collection contains the specified HighlightedObject
| ||||||||||
abstract HighlightedObject |
get(int index)
Returns the HighlightedObject at the specified position.
| ||||||||||
abstract boolean |
isEmpty()
Tests if this collection has no HighlightedObject
| ||||||||||
abstract void |
remove(int index)
Removes the
HighlightedObject at the specified position from the collection | ||||||||||
abstract boolean |
remove(HighlightedObject ho)
Removes the specified HighlightedObject from the collection
| ||||||||||
abstract int |
size()
Returns the number of HighlightedObject in this collection
|
Appends a HighlightedObject into the collection.
objectId | the object id of the HighlightedObject. |
---|---|
objectType | the type of the HighlightedObject. It is either
EnumDSSXMLObjectTypes or EnumWebDependentObjectType . |
Removes all of the HighlightedObject from the collection. This collection will be empty after this call returns.
Returns true if the collection contains the specified HighlightedObject
ho | the HighlightedObject whose presence in this collection is to be tested |
---|
Returns the HighlightedObject at the specified position.
index | the position of a HighlightedObject in the collection |
---|
IndexOutOfBoundsException | if the index is out of range |
---|
Tests if this collection has no HighlightedObject
Removes the HighlightedObject
at the specified position from the collection
index | the index to the HighlightedObject to be removed |
---|
IndexOutOfBoundsException | if the index is out of range |
---|
Removes the specified HighlightedObject from the collection
ho | the HighlightedObject to be removed |
---|
Returns the number of HighlightedObject in this collection