public class TdbDatabaseFieldList extends TdbControlObjectList
Constructor and Description |
---|
TdbDatabaseFieldList(TdbSession session,
java.lang.String db)
Shortcut constructor that retrieves all fields from both head and part record structures
|
TdbDatabaseFieldList(TdbSession session,
java.lang.String db,
int type,
boolean headonly)
Constructor, retrieves a list of fields from the named database of the specified type (if any)
|
TdbDatabaseFieldList(TdbSession session,
java.lang.String db,
java.util.Vector types,
boolean headonly)
Constructor, retrieves a list of fields from the named database of the specified types (if any)
|
contains, contains, get, refresh, transform
add, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
codeList, getLastCode, getLastMessage, hasMessages, messageList, resetMessages
cancel, getSession, isCancelable, setCancelable
public TdbDatabaseFieldList(TdbSession session, java.lang.String db, int type, boolean headonly) throws TdbException
session
- Active sessiondb
- Name of the database from which to retrieve the list of fieldstype
- The type of field to retrieve (set to 0 to retrieve all fields)headonly
- If set true, only head fields are retrievedTdbException
public TdbDatabaseFieldList(TdbSession session, java.lang.String db) throws TdbException
session
- Active sessiondb
- Name of the database from which to retrieve the list of fieldsTdbException
public TdbDatabaseFieldList(TdbSession session, java.lang.String db, java.util.Vector types, boolean headonly) throws TdbException
session
- Active sessiondb
- Name of the database from which to retrieve the list of fieldstypes
- A Vector of Integers specifying the types of fields to retrieveheadonly
- If set true, only head fields are retrievedTdbException