# JCursor (jremote API)

Read Time: 1 minute(s)

# Interface JCursor

All Superinterfaces:Iterable<String>, JSelectList
All Known Implementing Classes:JCursorImpl


public interface JCursor
extends JSelectList
1
2

A cursor to a jBASE file. This object represents a list of jBASE file records.

# Method Summary

Modifier and Type Method and Description
JDynArray getRecord()
Returns the current record.
void setRecord(JDynArray record)
Modifies the current record.
void update()
Update changes.
  • Methods inherited from interface com.jbase.jremote.JSelectList
    • close, getFetchSize, getKey, getPosition, goToPosition, hasNext, hasPrevious, iterator, next, previous, setFetchSize
  • Methods inherited from interface java.lang.Iterable
    • forEach, spliterator

# Method Detail

# getRecord

JDynArray getRecord()
1

Returns the current record. Returns:record value

# setRecord

void setRecord(JDynArray record)
1

Modifies the current record. Changes are not applied until methods update() or close() are called. Parameters:record -

# update

void update()
     throws JRemoteException
1
2

Update changes. This method will apply all pending changes to the cursor. Throws:JRemoteException

Back to jRemote API