com.microstrategy.web.objects.WebDirectedAttributes |
The WebDirectedAttributes interface simply represents a collection of
WebDirectedAttribute
objects. This object can be obtained from a WebRelationship
object.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract WebDirectedAttribute |
add(WebAttribute attribute, int direction)
Adds a
WebDirectedAttribute object containing the given attribute and direction
to the collection. | ||||||||||
abstract void |
clear()
Removes all items from the collection.
| ||||||||||
abstract Enumeration |
elements()
Returns a java.util.Enumeration containing the items in the collection.
| ||||||||||
abstract WebDirectedAttribute |
get(int index)
Returns the
WebDirectedAttribute object with the given index. | ||||||||||
abstract boolean |
isEmpty()
Returns whether the collection is empty.
| ||||||||||
abstract void |
remove(int index)
Removes the object with the given index from the collection.
| ||||||||||
abstract int |
size()
Returns the number of items in the collection.
|
Adds a WebDirectedAttribute
object containing the given attribute and direction
to the collection.
attribute | The WebAttribute which is the target of the directed attribute object. |
---|---|
direction | The direction of the directed attribute, from EnumDSSXMLAttributeDirection . |
WebDirectedAttribute
object.
Removes all items from the collection.
Returns a java.util.Enumeration containing the items in the collection.
Returns the WebDirectedAttribute
object with the given index.
index | The index of the object to return from the collection. |
---|
WebDirectedAttribute
object with the given index.IndexOutOfBoundsException | Thrown if the index does not exist in the collection. |
---|
Returns whether the collection is empty.
Removes the object with the given index from the collection.
index | The index of the object to remove. |
---|
IndexOutOfBoundsException | Thrown if the index does not exist in the collection. |
---|
Returns the number of items in the collection.