Class TdbDatabaseFieldList

All Implemented Interfaces:
com.tietoenator.trip.jxp.internal.utils.DOMSink, Iterable<TdbControlObject>, Collection<TdbControlObject>, List<TdbControlObject>

public class TdbDatabaseFieldList extends TdbControlObjectList
Container and retrieval logic for a list of fields within a specific database or thesaurus. The information retrieved is limited to field name, so this list is of very limited use and is intended for dropdown lists and similar UI elements.
  • Constructor Details

    • TdbDatabaseFieldList

      public TdbDatabaseFieldList(TdbSession session, String db, int type, boolean headonly) throws TdbException
      Constructor, retrieves a list of fields from the named database of the specified type (if any)
      Parameters:
      session - Active session
      db - Name of the database from which to retrieve the list of fields
      type - The type of field to retrieve (set to 0 to retrieve all fields)
      headonly - If set true, only head fields are retrieved
      Throws:
      TdbException
    • TdbDatabaseFieldList

      public TdbDatabaseFieldList(TdbSession session, String db) throws TdbException
      Shortcut constructor that retrieves all fields from both head and part record structures
      Parameters:
      session - Active session
      db - Name of the database from which to retrieve the list of fields
      Throws:
      TdbException
    • TdbDatabaseFieldList

      public TdbDatabaseFieldList(TdbSession session, String db, Vector types, boolean headonly) throws TdbException
      Constructor, retrieves a list of fields from the named database of the specified types (if any)
      Parameters:
      session - Active session
      db - Name of the database from which to retrieve the list of fields
      types - A Vector of Integers specifying the types of fields to retrieve
      headonly - If set true, only head fields are retrieved
      Throws:
      TdbException