Class JDPLoadChoice

java.lang.Object
   |
   +----JDPLoadChoice

public class JDPLoadChoice
extends Object
Class JDPLoadChoice represents a class for loading components from a database table.


Constructor Index

 o JDPLoadChoice(JDPUser, JDPJagg, Component, String, String, String, String, Vector)
Creates a new loader and loads the specified component.
 o JDPLoadChoice(JDPUser, JDPJagg, Object, String, String, String)
Creates a new loader and loads the specified component.
 o JDPLoadChoice(JDPUser, JDPJagg, Object, String, String, String, String, int)
Creates a new loader and loads the specified component.
 o JDPLoadChoice(JDPUser, JDPJagg, Object, String, String, String, String, Vector)
Creates a new loader and loads the specified component.

Constructors

 o JDPLoadChoice
 public JDPLoadChoice(JDPUser user,
                      JDPJagg jaggSQL,
                      Object thisComponent,
                      String choiceName,
                      String tableName,
                      String whereClause)
Creates a new loader and loads the specified component.

Parameters:
JDPUser - the global user parameter used to pass handles in JDP.
JDPJagg - a handle to an instance of JDPJagg. DSN and CSTR must already be intialized.
thisComponent - the component to load (JDPChoice, Choice, JDPList, List or Vector).
choiceName - the database column name to retrieve the choice values from.
actualName - the database column name to retrieve the key values from.
tableName - the database table data from.
whereClause - the where clause to use when selecting rows from the table.
actualArray - the vector to load the actualName values into.
 o JDPLoadChoice
 public JDPLoadChoice(JDPUser user,
                      JDPJagg jaggSQL,
                      Object thisComponent,
                      String choiceName,
                      String actualName,
                      String tableName,
                      String whereClause,
                      Vector actualArray)
Creates a new loader and loads the specified component.

Parameters:
JDPUser - the global user parameter used to pass handles in JDP.
JDPJagg - a handle to an instance of JDPJagg. DSN and CSTR must already be intialized.
thisComponent - the component to load (JDPChoice, Choice, JDPList, List or Vector).
choiceName - the database column name to retrieve the choice values from.
actualName - the database column name to retrieve the key values from.
tableName - the database table data from.
whereClause - the where clause to use when selecting rows from the table.
actualArray - the vector to load the actualName values into.
 o JDPLoadChoice
 public JDPLoadChoice(JDPUser user,
                      JDPJagg jaggSQL,
                      Component thisComponent,
                      String choiceName,
                      String actualName,
                      String tableName,
                      String whereClause,
                      Vector actualArray)
Creates a new loader and loads the specified component.

Parameters:
JDPUser - the global user parameter used to pass handles in JDP.
JDPJagg - a handle to an instance of JDPJagg. DSN and CSTR must already be intialized.
thisComponent - the component to load (JDPChoice, Choice, JDPList, List or Vector).
choiceName - the database column name to retrieve the choice values from.
actualName - the database column name to retrieve the key values from.
tableName - the database table data from.
whereClause - the where clause to use when selecting rows from the table.
actualArray - the vector to load the actualName values into.
 o JDPLoadChoice
 public JDPLoadChoice(JDPUser user,
                      JDPJagg jaggSQL,
                      Object thisComponent,
                      String choiceName,
                      String actualName,
                      String tableName,
                      String whereClause,
                      int odbcType)
Creates a new loader and loads the specified component.

Parameters:
JDPUser - the global user parameter used to pass handles in JDP.
JDPJagg - a handle to an instance of JDPJagg. DSN and CSTR must already be intialized.
thisComponent - the component to load (JDPChoice, Choice, JDPList, List or Vector).
choiceName - the database column name to retrieve the choice values from.
actualName - the database column name to retrieve the key values from.
tableName - the database table data from.
whereClause - the where clause to use when selecting rows from the table.
odbcType - the odbc datatype of the actualValue column.