public interface

WebDirectedAttributes

com.microstrategy.web.objects.WebDirectedAttributes

Class Overview

The WebDirectedAttributes interface simply represents a collection of WebDirectedAttribute objects. This object can be obtained from a WebRelationship object.

Summary

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.

Public Methods

public abstract WebDirectedAttribute add (WebAttribute attribute, int direction)

Adds a WebDirectedAttribute object containing the given attribute and direction to the collection.

Parameters
attribute The WebAttribute which is the target of the directed attribute object.
direction The direction of the directed attribute, from EnumDSSXMLAttributeDirection.
Returns

public abstract void clear ()

Removes all items from the collection.

public abstract Enumeration elements ()

Returns a java.util.Enumeration containing the items in the collection.

Returns
  • An Enumeration object containing the objects in the collection.

public abstract WebDirectedAttribute get (int index)

Returns the WebDirectedAttribute object with the given index.

Parameters
index The index of the object to return from the collection.
Returns
Throws
IndexOutOfBoundsException Thrown if the index does not exist in the collection.

public abstract boolean isEmpty ()

Returns whether the collection is empty.

Returns
  • True if the collection is empty, false if not.

public abstract void remove (int index)

Removes the object with the given index from the collection.

Parameters
index The index of the object to remove.
Throws
IndexOutOfBoundsException Thrown if the index does not exist in the collection.

public abstract int size ()

Returns the number of items in the collection.

Returns
  • The size of the collection.