Interface ResultCollection

All Superinterfaces:
Iterable<ResultElement>, ResultElement
All Known Implementing Classes:
DefaultResultCollection

public interface ResultCollection extends ResultElement, Iterable<ResultElement>
Interface representing one collection of result elements (e.g. a list of complex business objects) resulting from a call to an external service (e.g. after invoking a BAPI or a remote-enabled function module).

Use the method collect(String) to collect elements inside this object as CollectedResultCollection identified by a certain name.

Use the method asList(Class) to cast this collection into a list of instances of a certain class type.

Use the method asSet(Class) to cast this collection into a set of instances of a certain class type.

To cast this collection into a set or list of built-in data and object types, use methods such as asStringList() or asStringSet().