org.jafer.registry.web.struts
Class CategoryTypesDisplayLink

java.lang.Object
  extended by org.jafer.registry.web.struts.CategoryTypesDisplayLink

public final class CategoryTypesDisplayLink
extends java.lang.Object

This class links a display value against the category types supported


Field Summary
static java.lang.String DDC
          Stores a reference to the display string for ddc
private static java.util.List displayKeys
          Stores a reference to the map of display links to categories
private static java.util.HashMap displayLink
          Stores a reference to the map of display links to categories
static java.lang.String GENERAL_KEYWORDS
          Stores a reference to the display string for general keywords
static java.lang.String LCSH
          Stores a reference to the display string for lcsh
static java.lang.String SELECT
          Stores a reference to the SELECT display key string
 
Constructor Summary
CategoryTypesDisplayLink()
           
 
Method Summary
static CategoryType getCategoryType(java.lang.String key)
          Return the category type for the display key
static java.util.List getDisplayKeys()
          Returns a list of all the display keys
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

displayLink

private static java.util.HashMap displayLink
Stores a reference to the map of display links to categories


displayKeys

private static java.util.List displayKeys
Stores a reference to the map of display links to categories


GENERAL_KEYWORDS

public static final java.lang.String GENERAL_KEYWORDS
Stores a reference to the display string for general keywords

See Also:
Constant Field Values

LCSH

public static final java.lang.String LCSH
Stores a reference to the display string for lcsh

See Also:
Constant Field Values

DDC

public static final java.lang.String DDC
Stores a reference to the display string for ddc

See Also:
Constant Field Values

SELECT

public static final java.lang.String SELECT
Stores a reference to the SELECT display key string

See Also:
Constant Field Values
Constructor Detail

CategoryTypesDisplayLink

public CategoryTypesDisplayLink()
Method Detail

getDisplayKeys

public static java.util.List getDisplayKeys()
Returns a list of all the display keys

Returns:
A list of display keys

getCategoryType

public static CategoryType getCategoryType(java.lang.String key)
Return the category type for the display key

Parameters:
key - the display key
Returns:
the related category type