edu.jhu.tmaj.beans.cache
Class CachedLookupTables

java.lang.Object
  extended by 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.


Method Summary
(package private) static void clear()
           
static LookupRecord getLookupRecord(LookupTable lookupTable, java.lang.Integer id)
           
static java.util.Map<java.lang.Integer,LookupRecord> getLookupTableMap(LookupTable lookupTable)
           
static java.lang.String getLookupValue(LookupTable lookupTable, java.lang.Integer id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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()