OdsoRecipientDataCollection

Inheritance: java.lang.Object

All Implemented Interfaces: java.lang.Iterable

public class OdsoRecipientDataCollection implements Iterable

A typed collection of OdsoRecipientData

To learn more, visit the Mail Merge and Reporting documentation article.

Remarks:

Methods

MethodDescription
add(OdsoRecipientData value)Adds an object to the end of this collection.
clear()Removes all elements from this collection.
get(int index)Gets an item in this collection.
getCount()Gets the number of elements contained in the collection.
iterator()Returns an iterator object that can be used to iterate over all items in the collection.
removeAt(int index)Removes the element at the specified index.
set(int index, OdsoRecipientData value)Sets an item in this collection.

add(OdsoRecipientData value)

public int add(OdsoRecipientData value)

Adds an object to the end of this collection.

Parameters:

ParameterTypeDescription
valueOdsoRecipientDataThe object to add. Cannot be null .

Returns: int

clear()

public void clear()

Removes all elements from this collection.

get(int index)

public OdsoRecipientData get(int index)

Gets an item in this collection.

Parameters:

ParameterTypeDescription
indexint

Returns: OdsoRecipientData - An item in this collection.

getCount()

public int getCount()

Gets the number of elements contained in the collection.

Returns: int - The number of elements contained in the collection.

iterator()

public Iterator iterator()

Returns an iterator object that can be used to iterate over all items in the collection.

Returns: java.util.Iterator

removeAt(int index)

public void removeAt(int index)

Removes the element at the specified index.

Parameters:

ParameterTypeDescription
indexintThe zero-based index of the element.

set(int index, OdsoRecipientData value)

public void set(int index, OdsoRecipientData value)

Sets an item in this collection.

Parameters:

ParameterTypeDescription
indexint
valueOdsoRecipientDataAn item in this collection.