com.microstrategy.web.objects.WebDerivedElements |
![]() |
This interface represents a collection of Derived Elements
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
add(WebDerivedElement de, int position)
Adds derived element to the collection
| ||||||||||
abstract void |
clear()
Removes all Derived Elements from the collection.
| ||||||||||
abstract boolean |
contains(String id)
Returns true if the Derived Element with the given id exists in the collection.
| ||||||||||
abstract Enumeration |
elements()
Returns a java.util.Enumeration which can be used to iterate through the list
of elements in the collection.
| ||||||||||
abstract WebDerivedElement |
get(int index)
Returns the Derived Element object with the given index.
| ||||||||||
abstract WebDerivedElement |
get(String id)
Returns a Derived Element object with the given id, if it exists.
| ||||||||||
abstract WebExpression | getDomainExpression() | ||||||||||
abstract int | getInsertPosition() | ||||||||||
abstract String | getLinkedObjectName() | ||||||||||
abstract boolean | hasVisibleList() | ||||||||||
abstract int |
indexOf(String id)
Finds the index of Derived Element with the given id.
| ||||||||||
abstract boolean | isEditable() | ||||||||||
abstract boolean | isLinked() | ||||||||||
abstract boolean | isSort() | ||||||||||
abstract void |
moveTo(String id, int position)
Moves spesified Derived Element to specify position
| ||||||||||
abstract WebDerivedElement |
remove(int index)
Removes a derived element located in the
index position. | ||||||||||
abstract WebDerivedElement |
remove(String id)
Removes the Derived Element object with the given id from the collection;
| ||||||||||
abstract int |
size()
Returns the number of elements currently in the collection.
|
Adds derived element to the collection
de | element |
---|---|
position | position |
IllegalArgumentException | Thrown if the element already exists in the collection. |
---|---|
IndexOutOfBoundsException | Thrown if the position is out of bondories. |
Removes all Derived Elements from the collection.
Returns true if the Derived Element with the given id exists in the collection.
id | The Derived Element ID. |
---|
Returns a java.util.Enumeration which can be used to iterate through the list of elements in the collection.
Returns the Derived Element object with the given index.
index | The index of the element in the collection. |
---|
IndexOutOfBoundsException | Thrown if the given index is out of the bounds of the collection. |
---|
Returns a Derived Element object with the given id, if it exists.
id | The key of the element to search for in the collection. |
---|
IllegalArgumentException | Thrown if the element with the given id does not exist in the collection. |
---|
Finds the index of Derived Element with the given id.
id | String |
---|
Moves spesified Derived Element to specify position
id | element ID |
---|---|
position | new position |
IllegalArgumentException | Thrown if the element not found. |
---|---|
IndexOutOfBoundsException | Thrown if the position is out of bondories. |
Removes a derived element located in the index
position.
index | position |
---|
IndexOutOfBoundsException | if index is out of bounds |
---|
Removes the Derived Element object with the given id from the collection;
id | The element id. |
---|
Returns the number of elements currently in the collection.