wt.clients.beans.query
Class SchemeDB
java.lang.Object
wt.clients.beans.query.SchemeDB
- public class SchemeDB
- extends Object
Constructor Summary |
SchemeDB(Object[][] string_array)
Constructor
This constructor can be used, but this constructor will not be container aware |
SchemeDB(Object[][] string_array,
Object[][] filter_array)
Constructor |
SchemeDB(String class_list_name)
Constructor
Loads the classes defined in the wt.clients.beans.query.ChooserOptions . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
versionID
private static final String versionID
- See Also:
- Constant Field Values
OPTIONS_RESOURCE
private static String OPTIONS_RESOURCE
schemaLookup
private Hashtable schemaLookup
classNameLookup
private Hashtable classNameLookup
SchemeDB
public SchemeDB(Object[][] string_array)
- Constructor
This constructor can be used, but this constructor will not be container aware
- Parameters:
string_array
- 2-dimensional array, each consisting of a class
label and schema string.
SchemeDB
public SchemeDB(Object[][] string_array,
Object[][] filter_array)
- Constructor
- Parameters:
string_array
- 2-dimensional array, each consisting of a class
label and schema string.
SchemeDB
public SchemeDB(String class_list_name)
- Constructor
Loads the classes defined in the
wt.clients.beans.query.ChooserOptions
.
Builds a list of class names for the classes that are specifed by the
class_list_name input parameter.
- Parameters:
class_list_name
- must be a constant String defined in
getFirstInList
public static String getFirstInList(String class_list_name)
getSchemeByClass
public WTScheme getSchemeByClass(String a_class)
getScheme
public WTScheme getScheme(String a_label)
- Parameters:
a_label
- class name label associated with the scheme.
- Returns:
- the scheme associated with the class name label.
getClassLabels
public String[] getClassLabels()
- Returns:
- a string array of the class name labels.
getSortedNames
private String[] getSortedNames(String[] nameList)
main
public static void main(String[] args)