com.sap.conn.jco
Interface JCoFieldIterator

All Known Subinterfaces:
JCoParameterFieldIterator, JCoRecordFieldIterator

public interface JCoFieldIterator

Encapsulates an iterator for the fields of a record


Method Summary
 boolean hasNextField()
          Tests if this enumeration contains more fields.
 boolean hasPreviousField()
          Tests if this enumeration contains more fields.
 JCoField nextField()
          Returns the next field of this enumeration.
 JCoField previousField()
          Returns the previous field of this enumeration.
 void reset()
          Resets the iterator
 

Method Detail

reset

void reset()
Resets the iterator


hasNextField

boolean hasNextField()
Tests if this enumeration contains more fields.

Returns:
true if this enumeration contains more fields; false otherwise.

hasPreviousField

boolean hasPreviousField()
Tests if this enumeration contains more fields.

Returns:
true if this enumeration contains more fields; false otherwise.

nextField

JCoField nextField()
Returns the next field of this enumeration.

Returns:
the next field of this enumeration.
Throws:
NoSuchElementException - if no more elements exist.

previousField

JCoField previousField()
Returns the previous field of this enumeration.

Returns:
the previous field of this enumeration.
Throws:
NoSuchElementException - if no more elements exist.


Copyright © 2014 SAP. All Rights Reserved.