edu.jhu.tmaj.beans.cache
Class CachedLookupTables
java.lang.Object
edu.jhu.tmaj.beans.cache.CachedLookupTables
public final class CachedLookupTables
- extends java.lang.Object
Represents all cached lookup tables in TMAJ. A lookup table simple refers to a table with two
columns, a primary key and a name column. For example, Colors could be a lookup table with two
columns, ColorID and ColorName.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getLookupRecord
public static LookupRecord getLookupRecord(LookupTable lookupTable,
java.lang.Integer id)
getLookupValue
public static java.lang.String getLookupValue(LookupTable lookupTable,
java.lang.Integer id)
getLookupTableMap
public static java.util.Map<java.lang.Integer,LookupRecord> getLookupTableMap(LookupTable lookupTable)
clear
static void clear()