com.businessobjects.connectionserver.datasources.ddk
Interface ParameterSet


public interface ParameterSet

This interface provides custom drivers with the functionality to iterate through a collection of parameters.

Author:
Business Objects

Method Summary
 boolean isEmpty()
          Determines if a parameter set is empty, that is, if it contains no elements.
 java.util.Iterator iterator()
          Returns an iterator for the elements in this collection.
 int size()
          Determines the number of elements in a parameter collection.
 java.lang.Object[] toArray()
          Retrieves the parameters in a collection.
 java.lang.Object[] toArray(java.lang.Object[] a)
          Retrieves the parameters in a collection and returns them in an array.
 

Method Detail

isEmpty

boolean isEmpty()

Determines if a parameter set is empty, that is, if it contains no elements.

Returns:
  • True: The collection contains no elements.
  • False: The collection contains elements.

iterator

java.util.Iterator iterator()

Returns an iterator for the elements in this collection.

Returns:
An iterator for the elements in this collection.

size

int size()

Determines the number of elements in a parameter collection.

Returns:
The number of elements in this collection.

toArray

java.lang.Object[] toArray()

Retrieves the parameters in a collection.

Returns:
An array containing all elements in the collection.

toArray

java.lang.Object[] toArray(java.lang.Object[] a)

Retrieves the parameters in a collection and returns them in an array.

Parameters:
a - The collection of parameters.
Returns:
An array containing all of the elements in this collection. The runtime type of the returned array is that of the specified collection.