public class LookUpTables
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
CODE_LENGTH
Maximum length of a lookup code
|
static int |
TEXT_LENGTH
Maximum length of a lookup item text
|
static int |
TOPIC_LENGTH
Maximum length of topic text for a lookup collection
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkTable()
Check the database module is present and that
the lookup table exists.
|
LookupList |
createLookupList(PamCursor resultSet,
java.lang.String topic) |
LookupList |
editLookupTopic(java.awt.Window window,
java.lang.String topic)
Query all LUT items with the given topic name.
|
LookupList |
getLookupList(java.lang.String topic) |
static LookUpTables |
getLookUpTables()
Access the LookUpTables class
|
public static final int TOPIC_LENGTH
public static final int CODE_LENGTH
public static final int TEXT_LENGTH
public static LookUpTables getLookUpTables()
public boolean checkTable()
public LookupList createLookupList(PamCursor resultSet, java.lang.String topic)
public LookupList editLookupTopic(java.awt.Window window, java.lang.String topic)
window
- topic
- LUT topicpublic LookupList getLookupList(java.lang.String topic)